examples: Modifying examples to work with the new codebase
diff --git a/examples/custom-apps/custom-app.hpp b/examples/custom-apps/custom-app.hpp
index 7dca200..8d90f40 100644
--- a/examples/custom-apps/custom-app.hpp
+++ b/examples/custom-apps/custom-app.hpp
@@ -25,7 +25,7 @@
#include "ns3/ndnSIM/model/ndn-common.hpp"
-#include "ns3/ndn-app.hpp"
+#include "ns3/ndnSIM/apps/ndn-app.hpp"
namespace ns3 {
@@ -55,11 +55,11 @@
// (overridden from ndn::App) Callback that will be called when Interest arrives
virtual void
- OnInterest(Ptr<const ndn::Interest> interest);
+ OnInterest(shared_ptr<const ndn::Interest> interest);
// (overridden from ndn::App) Callback that will be called when Data arrives
virtual void
- OnData(Ptr<const ndn::Data> contentObject);
+ OnData(shared_ptr<const ndn::Data> contentObject);
private:
void