apps + examples: Enabling NACK support

Change-Id: I3d16bcf29f4858049d1040a3e421e1c7151b2bb2
Refs: #3871
diff --git a/apps/ndn-app.cpp b/apps/ndn-app.cpp
index 0472550..4121eef 100644
--- a/apps/ndn-app.cpp
+++ b/apps/ndn-app.cpp
@@ -49,13 +49,21 @@
                                         MakeTraceSourceAccessor(&App::m_receivedDatas),
                                         "ns3::ndn::App::DataTraceCallback")
 
+                        .AddTraceSource("ReceivedNacks", "ReceivedNacks",
+                                        MakeTraceSourceAccessor(&App::m_receivedNacks),
+                                        "ns3::ndn::App::NackTraceCallback")
+
                         .AddTraceSource("TransmittedInterests", "TransmittedInterests",
                                         MakeTraceSourceAccessor(&App::m_transmittedInterests),
                                         "ns3::ndn::App::InterestTraceCallback")
 
                         .AddTraceSource("TransmittedDatas", "TransmittedDatas",
                                         MakeTraceSourceAccessor(&App::m_transmittedDatas),
-                                        "ns3::ndn::App::DataTraceCallback");
+                                        "ns3::ndn::App::DataTraceCallback")
+
+                        .AddTraceSource("TransmittedNacks", "TransmittedNacks",
+                                        MakeTraceSourceAccessor(&App::m_transmittedNacks),
+                                        "ns3::ndn::App::NackTraceCallback");
   return tid;
 }
 
@@ -122,7 +130,7 @@
   NS_LOG_FUNCTION(this << nack);
 
   // @TODO Implement
-  // m_receivedDatas(data, this, m_face);
+  m_receivedNacks(nack, this, m_face);
 }
 
 // Application Methods