ndnSIM-v2: Initial implementation
- Name, name::Components, Interest, Data now use ndn-cxx
- Ptr is replaced with shared_ptr for ndn-cxx structures
Credits for the change also to Mickey Sweat, Wentao Shang, and Alex Afanasyev
diff --git a/examples/custom-apps/custom-app.cpp b/examples/custom-apps/custom-app.cpp
index 001c440..62cacc4 100644
--- a/examples/custom-apps/custom-app.cpp
+++ b/examples/custom-apps/custom-app.cpp
@@ -27,8 +27,6 @@
#include "ns3/packet.h"
#include "ns3/ndn-app-face.hpp"
-#include "ns3/ndn-interest.hpp"
-#include "ns3/ndn-data.hpp"
#include "ns3/ndn-fib.hpp"
#include "ns3/random-variable.h"
diff --git a/examples/custom-apps/custom-app.hpp b/examples/custom-apps/custom-app.hpp
index 5d05e99..7dca200 100644
--- a/examples/custom-apps/custom-app.hpp
+++ b/examples/custom-apps/custom-app.hpp
@@ -23,6 +23,8 @@
#ifndef CUSTOM_APP_H_
#define CUSTOM_APP_H_
+#include "ns3/ndnSIM/model/ndn-common.hpp"
+
#include "ns3/ndn-app.hpp"
namespace ns3 {
diff --git a/examples/custom-apps/dumb-requester.cpp b/examples/custom-apps/dumb-requester.cpp
index f81548f..8850e18 100644
--- a/examples/custom-apps/dumb-requester.cpp
+++ b/examples/custom-apps/dumb-requester.cpp
@@ -29,8 +29,6 @@
#include "ns3/string.h"
#include "ns3/ndn-app-face.hpp"
-#include "ns3/ndn-interest.hpp"
-#include "ns3/ndn-data.hpp"
NS_LOG_COMPONENT_DEFINE("DumbRequester");
diff --git a/examples/custom-apps/dumb-requester.hpp b/examples/custom-apps/dumb-requester.hpp
index 55bdace..0091c25 100644
--- a/examples/custom-apps/dumb-requester.hpp
+++ b/examples/custom-apps/dumb-requester.hpp
@@ -23,8 +23,9 @@
#ifndef DUMB_REQUESTER_H_
#define DUMB_REQUESTER_H_
+#include "ns3/ndnSIM/model/ndn-common.hpp"
+
#include "ns3/ndn-app.hpp"
-#include "ns3/ndn-name.hpp"
namespace ns3 {
diff --git a/examples/custom-apps/hijacker.cpp b/examples/custom-apps/hijacker.cpp
index bcff26a..70e2d9e 100644
--- a/examples/custom-apps/hijacker.cpp
+++ b/examples/custom-apps/hijacker.cpp
@@ -21,7 +21,6 @@
// hijacker.cc
#include "hijacker.hpp"
-#include "ns3/ndn-name.hpp"
NS_LOG_COMPONENT_DEFINE("Hijacker");