Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.h | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h index ee9dca9..3ec4021 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.h +++ b/noncore/net/wellenreiter/gui/wellenreiter.h | |||
@@ -25,19 +25,7 @@ using namespace Opie; | |||
25 | 25 | ||
26 | // ugly... not here! | ||
27 | |||
28 | #include <assert.h> | ||
29 | #include <errno.h> | ||
30 | #include <unistd.h> | ||
31 | #include <string.h> | ||
32 | #include <sys/types.h> | ||
33 | #include <sys/socket.h> | ||
34 | #include <stdlib.h> | ||
35 | #include <fcntl.h> | ||
36 | #include <daemon/source/config.hh> | ||
37 | #include <libwellenreiter/source/wl_types.hh> | ||
38 | #include <libwellenreiter/source/wl_sock.hh> | ||
39 | #include <libwellenreiter/source/wl_proto.hh> | ||
40 | |||
41 | class QTimerEvent; | 26 | class QTimerEvent; |
42 | class QPixmap; | 27 | class QPixmap; |
28 | class OPacket; | ||
29 | class OPacketCapturer; | ||
30 | class OWirelessNetworkInterface; | ||
43 | class ManufacturerDB; | 31 | class ManufacturerDB; |
@@ -55,9 +43,6 @@ class Wellenreiter : public WellenreiterBase { | |||
55 | MLogWindow* logWindow() const { return logwindow; }; | 43 | MLogWindow* logWindow() const { return logwindow; }; |
56 | bool isDaemonRunning() const { return daemonRunning; }; | 44 | bool isDaemonRunning() const { return sniffing; }; |
57 | |||
58 | protected: | ||
59 | bool daemonRunning; | ||
60 | 45 | ||
61 | public slots: | 46 | public slots: |
62 | void dataReceived(); | 47 | void receivePacket(OPacket*); |
63 | void startStopClicked(); | 48 | void startStopClicked(); |
@@ -65,3 +50,2 @@ class Wellenreiter : public WellenreiterBase { | |||
65 | private: | 50 | private: |
66 | int daemon_fd; // socket filedescriptor for udp communication socket | ||
67 | #ifdef QWS | 51 | #ifdef QWS |
@@ -69,7 +53,8 @@ class Wellenreiter : public WellenreiterBase { | |||
69 | #endif | 53 | #endif |
70 | void handleMessage(); | ||
71 | 54 | ||
55 | bool sniffing; | ||
56 | OWirelessNetworkInterface* iface; | ||
57 | OPacketCapturer* pcap; | ||
72 | ManufacturerDB* manufacturerdb; | 58 | ManufacturerDB* manufacturerdb; |
73 | WellenreiterConfigWindow* configwindow; | 59 | WellenreiterConfigWindow* configwindow; |
74 | struct sockaddr_in sockaddr; | ||
75 | 60 | ||