Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h index 0ddc72c..a55d6a1 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.h +++ b/noncore/net/wellenreiter/gui/wellenreiter.h | |||
@@ -17,62 +17,63 @@ | |||
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 | // ugly... not here! | 26 | // ugly... not here! |
27 | 27 | ||
28 | #include <assert.h> | 28 | #include <assert.h> |
29 | #include <errno.h> | 29 | #include <errno.h> |
30 | #include <unistd.h> | 30 | #include <unistd.h> |
31 | #include <string.h> | 31 | #include <string.h> |
32 | #include <sys/types.h> | 32 | #include <sys/types.h> |
33 | #include <sys/socket.h> | 33 | #include <sys/socket.h> |
34 | #include <stdlib.h> | 34 | #include <stdlib.h> |
35 | #include <fcntl.h> | 35 | #include <fcntl.h> |
36 | #include <daemon/source/config.hh> | 36 | #include <daemon/source/config.hh> |
37 | #include <libwellenreiter/source/wl_types.hh> | 37 | #include <libwellenreiter/source/wl_types.hh> |
38 | #include <libwellenreiter/source/wl_sock.hh> | 38 | #include <libwellenreiter/source/wl_sock.hh> |
39 | #include <libwellenreiter/source/wl_proto.hh> | 39 | #include <libwellenreiter/source/wl_proto.hh> |
40 | 40 | ||
41 | |||
42 | class QTimerEvent; | 41 | class QTimerEvent; |
43 | class QPixmap; | 42 | class QPixmap; |
44 | class ManufacturerDB; | 43 | class ManufacturerDB; |
44 | class WellenreiterConfigWindow; | ||
45 | 45 | ||
46 | class Wellenreiter : public WellenreiterBase { | 46 | class Wellenreiter : public WellenreiterBase { |
47 | Q_OBJECT | 47 | Q_OBJECT |
48 | 48 | ||
49 | public: | 49 | public: |
50 | 50 | Wellenreiter( QWidget* parent = 0 ); | |
51 | Wellenreiter( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
52 | ~Wellenreiter(); | 51 | ~Wellenreiter(); |
53 | 52 | ||
54 | protected: | 53 | void setConfigWindow( WellenreiterConfigWindow* cw ); |
55 | 54 | ||
55 | protected: | ||
56 | bool daemonRunning; | 56 | bool daemonRunning; |
57 | 57 | ||
58 | public slots: | 58 | public slots: |
59 | void buttonClicked(); | ||
60 | void dataReceived(); | 59 | void dataReceived(); |
60 | void startStopClicked(); | ||
61 | 61 | ||
62 | private: | 62 | private: |
63 | int daemon_fd; // socket filedescriptor for udp communication socket | 63 | int daemon_fd; // socket filedescriptor for udp communication socket |
64 | #ifdef QWS | 64 | #ifdef QWS |
65 | OSystem _system; // Opie Operating System identifier | 65 | OSystem _system; // Opie Operating System identifier |
66 | #endif | 66 | #endif |
67 | void handleMessage(); | 67 | void handleMessage(); |
68 | 68 | ||
69 | ManufacturerDB* manufacturerdb; | 69 | ManufacturerDB* manufacturerdb; |
70 | WellenreiterConfigWindow* configwindow; | ||
70 | struct sockaddr_in sockaddr; | 71 | struct sockaddr_in sockaddr; |
71 | 72 | ||
72 | //void readConfig(); | 73 | //void readConfig(); |
73 | //void writeConfig(); | 74 | //void writeConfig(); |
74 | }; | 75 | }; |
75 | 76 | ||
76 | 77 | ||
77 | 78 | ||
78 | #endif | 79 | #endif |