summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/wellenreiter.h
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.h31
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
41class QTimerEvent; 26class QTimerEvent;
42class QPixmap; 27class QPixmap;
28class OPacket;
29class OPacketCapturer;
30class OWirelessNetworkInterface;
43class ManufacturerDB; 31class 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