Add ContactManager
diff --git a/src/contact-manager.h b/src/contact-manager.h
new file mode 100644
index 0000000..ddf8489
--- /dev/null
+++ b/src/contact-manager.h
@@ -0,0 +1,41 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
+/*
+ * Copyright (c) 2013, Regents of the University of California
+ * Yingdi Yu
+ *
+ * BSD license, See the LICENSE file for more information
+ *
+ * Author: Yingdi Yu <yingdi@cs.ucla.edu>
+ */
+
+#ifndef LINKNDN_CONTACT_MANAGER_H
+#define LINKNDN_CONTACT_MANAGER_H
+
+#include "contact-storage.h"
+#include "ndn.cxx/wrapper/wrapper.h"
+
+class ContactManager
+{
+public:
+ ContactManager(ndn::Ptr<ContactStorage> contactStorage);
+
+ ~ContactManager();
+
+ inline ndn::Ptr<ContactStorage>
+ getContactStorage()
+ { return m_contactStorage; }
+
+ inline ndn::Ptr<ndn::Wrapper>
+ getWrapper()
+ { return m_wrapper; }
+
+private:
+ ndn::Ptr<ndn::security::Keychain>
+ setKeychain();
+
+private:
+ ndn::Ptr<ContactStorage> m_contactStorage;
+ ndn::Ptr<ndn::Wrapper> m_wrapper;
+};
+
+#endif