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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h
index 3ec4021..ff73dd4 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.h
+++ b/noncore/net/wellenreiter/gui/wellenreiter.h
@@ -7,61 +7,65 @@
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14**********************************************************************/ 14**********************************************************************/
15 15
16#ifndef WELLENREITER_H 16#ifndef WELLENREITER_H
17#define WELLENREITER_H 17#define WELLENREITER_H
18 18
19#include "wellenreiterbase.h" 19#include "wellenreiterbase.h"
20 20
21#ifdef QWS 21#ifdef QWS
22#include <opie/odevice.h> 22#include <opie/odevice.h>
23using namespace Opie; 23using namespace Opie;
24#endif 24#endif
25 25
26class QTimerEvent; 26class QTimerEvent;
27class QPixmap; 27class QPixmap;
28class OPacket; 28class OPacket;
29class OPacketCapturer; 29class OPacketCapturer;
30class OWirelessNetworkInterface; 30class OWirelessNetworkInterface;
31
31class ManufacturerDB; 32class ManufacturerDB;
32class WellenreiterConfigWindow; 33class WellenreiterConfigWindow;
34class MLogWindow;
35class MHexWindow;
33 36
34class Wellenreiter : public WellenreiterBase { 37class Wellenreiter : public WellenreiterBase {
35 Q_OBJECT 38 Q_OBJECT
36 39
37 public: 40 public:
38 Wellenreiter( QWidget* parent = 0 ); 41 Wellenreiter( QWidget* parent = 0 );
39 ~Wellenreiter(); 42 ~Wellenreiter();
40 43
41 void setConfigWindow( WellenreiterConfigWindow* cw ); 44 void setConfigWindow( WellenreiterConfigWindow* cw );
42 MScanListView* netView() const { return netview; }; 45 MScanListView* netView() const { return netview; };
43 MLogWindow* logWindow() const { return logwindow; }; 46 MLogWindow* logWindow() const { return logwindow; };
47 MHexWindow* hexWindow() const { return hexwindow; };
44 bool isDaemonRunning() const { return sniffing; }; 48 bool isDaemonRunning() const { return sniffing; };
45 49
46 public slots: 50 public slots:
47 void receivePacket(OPacket*); 51 void receivePacket(OPacket*);
48 void startStopClicked(); 52 void startStopClicked();
49 53
50 private: 54 private:
51 #ifdef QWS 55 #ifdef QWS
52 OSystem _system; // Opie Operating System identifier 56 OSystem _system; // Opie Operating System identifier
53 #endif 57 #endif
54 58
55 bool sniffing; 59 bool sniffing;
56 OWirelessNetworkInterface* iface; 60 OWirelessNetworkInterface* iface;
57 OPacketCapturer* pcap; 61 OPacketCapturer* pcap;
58 ManufacturerDB* manufacturerdb; 62 ManufacturerDB* manufacturerdb;
59 WellenreiterConfigWindow* configwindow; 63 WellenreiterConfigWindow* configwindow;
60 64
61 //void readConfig(); 65 //void readConfig();
62 //void writeConfig(); 66 //void writeConfig();
63}; 67};
64 68
65 69
66 70
67#endif 71#endif