]> git.tdb.fi Git - netvis.git/blobdiff - source/netvis.h
Adapt to MSP library changes
[netvis.git] / source / netvis.h
index a205d0564af72b89e340173b212614cc54a5c404..46b96a58a85d3779d00e80c5010d7af5ff9e5733 100644 (file)
@@ -13,9 +13,9 @@ Distributed unter the GPL
 #include <pcap.h>
 #include <msp/core/application.h>
 #include <msp/debug/profiler.h>
-#include <msp/gbase/display.h>
-#include <msp/gbase/glcontext.h>
-#include <msp/gbase/simplewindow.h>
+#include <msp/graphics/display.h>
+#include <msp/graphics/glcontext.h>
+#include <msp/graphics/simplewindow.h>
 #include <msp/gl/color.h>
 #include <msp/gl/font.h>
 #include <msp/time/timestamp.h>
@@ -26,7 +26,7 @@ class Packet;
 class Port;
 class Resolver;
 
-class NetVis: public Msp::Application
+class NetVis: public Msp::RegisteredApplication<NetVis>
 {
 private:
        std::string iface;
@@ -69,8 +69,6 @@ private:
        static void capture_handler(unsigned char *, const pcap_pkthdr *, const unsigned char *);
 
        void sighandler(int);
-
-       static Application::RegApp<NetVis> reg;
 };
 
 #endif