Now code compiles and seem to have all the features... Though most likely not yet working
diff --git a/model/sync-logic.h b/model/sync-logic.h
index ad0a208..64d551b 100644
--- a/model/sync-logic.h
+++ b/model/sync-logic.h
@@ -43,6 +43,10 @@
#endif
#endif
+#ifdef NS3_MODULE
+#include <ns3/application.h>
+#endif
+
namespace Sync {
/**
@@ -51,6 +55,9 @@
* interests and data)
*/
class SyncLogic
+#ifdef NS3_MODULE
+ : public ns3::Application
+#endif
{
public:
typedef boost::function< void ( const std::string &/*prefix*/, const SeqNo &/*newSeq*/, const SeqNo &/*oldSeq*/ ) > LogicUpdateCallback;
@@ -98,6 +105,12 @@
Scheduler &
getScheduler () { return m_scheduler; }
#endif
+
+protected:
+#ifdef NS3_MODULE
+ virtual void StartApplication ();
+ virtual void StopApplication ();
+#endif
private:
void