2013-05-17 11:14:10 +00:00
|
|
|
#ifndef GLOBE_H
|
|
|
|
#define GLOBE_H
|
|
|
|
|
|
|
|
#include <marble/MarbleWidget.h>
|
|
|
|
|
2013-05-17 16:28:02 +00:00
|
|
|
namespace Marble{
|
|
|
|
class GeoDataDocument;
|
|
|
|
}
|
2013-05-17 11:14:10 +00:00
|
|
|
class GlobeGPS : public Marble::MarbleWidget{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2013-05-17 16:28:02 +00:00
|
|
|
using Marble::MarbleWidget::centerOn;
|
2013-05-17 11:14:10 +00:00
|
|
|
GlobeGPS(QWidget *parent);
|
2013-05-17 16:28:02 +00:00
|
|
|
void reload();
|
|
|
|
void centerOn(struct dive* dive);
|
2013-05-17 16:30:47 +00:00
|
|
|
|
2013-05-17 16:28:02 +00:00
|
|
|
private:
|
|
|
|
Marble::GeoDataDocument *loadedDives;
|
2013-05-17 11:14:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|