Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h index f609ef4..32e5690 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.h +++ b/noncore/net/wellenreiter/gui/wellenreiter.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #include <opie2/odevice.h> | 20 | #include <opie2/odevice.h> |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #include <signal.h> | ||
24 | |||
23 | class QTimerEvent; | 25 | class QTimerEvent; |
24 | class QPixmap; | 26 | class QPixmap; |
25 | namespace Opie {namespace Net {class OPacket;}} | 27 | namespace Opie {namespace Net {class OPacket;}} |
@@ -54,6 +56,8 @@ class Wellenreiter : public WellenreiterBase { | |||
54 | 56 | ||
55 | public: | 57 | public: |
56 | bool sniffing; | 58 | bool sniffing; |
59 | static Wellenreiter* instance; | ||
60 | static void signalHandler( int sig ); | ||
57 | 61 | ||
58 | protected: | 62 | protected: |
59 | virtual void timerEvent( QTimerEvent* ); | 63 | virtual void timerEvent( QTimerEvent* ); |
@@ -86,6 +90,7 @@ class Wellenreiter : public WellenreiterBase { | |||
86 | void doAction( const QString& action, const QString& protocol, Opie::Net::OPacket* p ); | 90 | void doAction( const QString& action, const QString& protocol, Opie::Net::OPacket* p ); |
87 | QObject* childIfToParse( Opie::Net::OPacket* p, const QString& protocol ); | 91 | QObject* childIfToParse( Opie::Net::OPacket* p, const QString& protocol ); |
88 | bool checkDumpPacket( Opie::Net::OPacket* p ); | 92 | bool checkDumpPacket( Opie::Net::OPacket* p ); |
93 | void registerSignalHandler(); | ||
89 | 94 | ||
90 | private: | 95 | private: |
91 | #ifdef QWS | 96 | #ifdef QWS |