// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2009 Eckhart Wörner // #ifndef GPSDCONNECTION_H #define GPSDCONNECTION_H #include #include #include namespace Marble { class GpsdConnection : public QObject { Q_OBJECT public: GpsdConnection( QObject* parent = 0 ); signals: void gpsdInfo( gps_data_t data ); private: gpsmm m_gpsd; QTimer m_timer; private slots: void update(); }; } #endif