author | mickeyl <mickeyl> | 2003-08-11 19:04:52 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-08-11 19:04:52 (UTC) |
commit | e7f79ca3acf58aef3ff150a2974f8087189621f5 (patch) (unidiff) | |
tree | b8397506f85d9a3b547940e416111de4b2da1f18 /noncore/net/wellenreiter/gui/gps.h | |
parent | 62cb34a352c38f97967882a7ac604d9670f0e75f (diff) | |
download | opie-e7f79ca3acf58aef3ff150a2974f8087189621f5.zip opie-e7f79ca3acf58aef3ff150a2974f8087189621f5.tar.gz opie-e7f79ca3acf58aef3ff150a2974f8087189621f5.tar.bz2 |
assorted fixes and more work on GPS
Diffstat (limited to 'noncore/net/wellenreiter/gui/gps.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/gps.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/gps.h b/noncore/net/wellenreiter/gui/gps.h index e7c3dce..ad0b6de 100644 --- a/noncore/net/wellenreiter/gui/gps.h +++ b/noncore/net/wellenreiter/gui/gps.h | |||
@@ -16,4 +16,23 @@ | |||
16 | #ifndef GPS_H | 16 | #ifndef GPS_H |
17 | #define GPS_H | 17 | #define GPS_H |
18 | 18 | ||
19 | #include <qobject.h> | ||
20 | #include <qsocket.h> | ||
21 | |||
22 | class GPS : public QObject | ||
23 | { | ||
24 | Q_OBJECT | ||
25 | |||
26 | public: | ||
27 | GPS( QObject* parent = 0, const char * name = "GPS" ); | ||
28 | ~GPS(); | ||
29 | |||
30 | bool open( const QString& host = "localhost", int port = 2947 ); | ||
31 | float latitude() const; | ||
32 | float longitute() const; | ||
33 | |||
34 | private: | ||
35 | QSocket* _socket; | ||
36 | }; | ||
37 | |||
19 | #endif // GPS_H | 38 | #endif // GPS_H |