summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/gps.h
authormickeyl <mickeyl>2003-08-11 19:04:52 (UTC)
committer mickeyl <mickeyl>2003-08-11 19:04:52 (UTC)
commite7f79ca3acf58aef3ff150a2974f8087189621f5 (patch) (side-by-side diff)
treeb8397506f85d9a3b547940e416111de4b2da1f18 /noncore/net/wellenreiter/gui/gps.h
parent62cb34a352c38f97967882a7ac604d9670f0e75f (diff)
downloadopie-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.h19
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 @@
#ifndef GPS_H
#define GPS_H
+#include <qobject.h>
+#include <qsocket.h>
+
+class GPS : public QObject
+{
+ Q_OBJECT
+
+ public:
+ GPS( QObject* parent = 0, const char * name = "GPS" );
+ ~GPS();
+
+ bool open( const QString& host = "localhost", int port = 2947 );
+ float latitude() const;
+ float longitute() const;
+
+ private:
+ QSocket* _socket;
+};
+
#endif // GPS_H