Adapt patch for the latest version of ndn-cxx
Change-Id: If9e28ba69ef35c4b4d438111fb754630d7adb321
diff --git a/src/forwarder-status.hpp b/src/forwarder-status.hpp
index 90bdf86..ba62d97 100644
--- a/src/forwarder-status.hpp
+++ b/src/forwarder-status.hpp
@@ -24,6 +24,7 @@
#include <QtCore/QStringList>
#include <ndn-cxx/face.hpp>
+#include <ndn-cxx/mgmt/nfd/forwarder-status.hpp>
namespace ndn {
@@ -60,7 +61,7 @@
signals:
void
- onDataReceived(ndn::shared_ptr<const ndn::Data>);
+ onDataReceived(ndn::nfd::ForwarderStatus status);
public:
@@ -88,15 +89,12 @@
clear();
void
- afterFetchedVersionInformation(const Data& data);
-
- void
onTimeout(const Interest& interest);
private slots:
void
- updateStatus(ndn::shared_ptr<const ndn::Data> data);
+ updateStatus(ndn::nfd::ForwarderStatus status);
private:
QList<ForwarderStatusItem> m_items;