X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fnetvis.h;h=989e06054555e3da34bd6f0a4e775c52bd8b51f1;hb=398c5e3e6e03080b6b057fd56858ab04694969ed;hp=eb8c0a8e9d66fab276be8e6cd93687302a11db78;hpb=d44d45bee2c3b6b5a8822ecdc23528dcf039ee2a;p=netvis.git diff --git a/source/netvis.h b/source/netvis.h index eb8c0a8..989e060 100644 --- a/source/netvis.h +++ b/source/netvis.h @@ -20,6 +20,7 @@ Distributed unter the GPL #include #include +class History; class Host; class Packet; class Port; @@ -43,6 +44,7 @@ private: std::map disabled_hosts; std::list packets; std::map ports; + History *history; Msp::Time::TimeStamp tick_t; Msp::Time::TimeStamp fps_t; @@ -62,6 +64,7 @@ private: Host &get_host(unsigned); Msp::GL::Color generate_color(bool) const; const Port &get_port(unsigned); + void create_history_texture(); static void capture_handler(unsigned char *, const pcap_pkthdr *, const unsigned char *);