summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmapwidgethelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlmapwidgethelper.h')
-rw-r--r--mobile-widgets/qmlmapwidgethelper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmapwidgethelper.h b/mobile-widgets/qmlmapwidgethelper.h
index f4bc05c7d..64ec2b75b 100644
--- a/mobile-widgets/qmlmapwidgethelper.h
+++ b/mobile-widgets/qmlmapwidgethelper.h
@@ -3,6 +3,8 @@
#include <QObject>
+struct dive_site;
+
class MapWidgetHelper : public QObject {
Q_OBJECT
@@ -11,6 +13,8 @@ class MapWidgetHelper : public QObject {
public:
explicit MapWidgetHelper(QObject *parent = NULL);
+ void centerOnDiveSite(struct dive_site *);
+
private:
QObject *m_map;
};