Switch from NDNx to CCNx
Change-Id: Icc2e6dd95d9c4e0ba22b7efb9933c1db7194842e
diff --git a/src/object-manager.h b/src/object-manager.h
index 2d0cdd0..9f55822 100644
--- a/src/object-manager.h
+++ b/src/object-manager.h
@@ -23,7 +23,7 @@
#define OBJECT_MANAGER_H
#include <string>
-#include <ccnx-wrapper.h>
+#include <ndnx-wrapper.h>
#include <hash-helper.h>
#include <boost/filesystem.hpp>
#include <boost/tuple/tuple.hpp>
@@ -33,7 +33,7 @@
class ObjectManager
{
public:
- ObjectManager (Ccnx::CcnxWrapperPtr ccnx, const boost::filesystem::path &folder, const std::string &appName);
+ ObjectManager (Ndnx::NdnxWrapperPtr ndnx, const boost::filesystem::path &folder, const std::string &appName);
virtual ~ObjectManager ();
/**
@@ -42,13 +42,13 @@
* Format: /<appname>/file/<hash>/<devicename>/<segment>
*/
boost::tuple<HashPtr /*object-db name*/, size_t /* number of segments*/>
- localFileToObjects (const boost::filesystem::path &file, const Ccnx::Name &deviceName);
+ localFileToObjects (const boost::filesystem::path &file, const Ndnx::Name &deviceName);
bool
- objectsToLocalFile (/*in*/const Ccnx::Name &deviceName, /*in*/const Hash &hash, /*out*/ const boost::filesystem::path &file);
+ objectsToLocalFile (/*in*/const Ndnx::Name &deviceName, /*in*/const Hash &hash, /*out*/ const boost::filesystem::path &file);
private:
- Ccnx::CcnxWrapperPtr m_ccnx;
+ Ndnx::NdnxWrapperPtr m_ndnx;
boost::filesystem::path m_folder;
std::string m_appName;
};