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