Add face list display
Change-Id: Ide96107acc8ad59cefb0a619968d5c27cd9e94bb
diff --git a/src/status-viewer.hpp b/src/status-viewer.hpp
index e7e4113..b627bdb 100644
--- a/src/status-viewer.hpp
+++ b/src/status-viewer.hpp
@@ -21,12 +21,14 @@
#define NCC_STATUS_VIEWER_HPP
#include "forwarder-status.hpp"
+#include "face-status.hpp"
#include "fib-status.hpp"
#include "rib-status.hpp"
#include <ndn-cxx/face.hpp>
#include <ndn-cxx/name.hpp>
#include <ndn-cxx/util/scheduler.hpp>
+#include <ndn-cxx/mgmt/nfd/face-status.hpp>
#include <ndn-cxx/mgmt/nfd/fib-entry.hpp>
#include <ndn-cxx/mgmt/nfd/rib-entry.hpp>
#include <ndn-cxx/mgmt/nfd/controller.hpp>
@@ -49,6 +51,9 @@
onStatusRetrieved(const nfd::ForwarderStatus& status);
void
+ onFaceStatusRetrieved(const std::vector<nfd::FaceStatus>& status);
+
+ void
onFibStatusRetrieved(const std::vector<nfd::FibEntry>& status);
void
@@ -78,6 +83,7 @@
QQmlApplicationEngine s_engine;
ForwarderStatusModel s_forwarderStatusModel;
+ FaceStatusModel s_faceModel;
FibStatusModel s_fibModel;
RibStatusModel s_ribModel;
};