Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.h | 4 |
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> |
23 | using namespace Opie; | 23 | using namespace Opie; |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | class QTimerEvent; | 26 | class QTimerEvent; |
27 | class QPixmap; | 27 | class QPixmap; |
28 | class OPacket; | 28 | class OPacket; |
29 | class OPacketCapturer; | 29 | class OPacketCapturer; |
30 | class OWirelessNetworkInterface; | 30 | class OWirelessNetworkInterface; |
31 | |||
31 | class ManufacturerDB; | 32 | class ManufacturerDB; |
32 | class WellenreiterConfigWindow; | 33 | class WellenreiterConfigWindow; |
34 | class MLogWindow; | ||
35 | class MHexWindow; | ||
33 | 36 | ||
34 | class Wellenreiter : public WellenreiterBase { | 37 | class 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 |