summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmapwidgethelper.h
blob: 64ec2b75b8a0130ecd6d57f447a1e742334a2b0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef QMLMAPWIDGETHELPER_H
#define QMLMAPWIDGETHELPER_H

#include <QObject>

struct dive_site;

class MapWidgetHelper : public QObject {

	Q_OBJECT
	Q_PROPERTY(QObject *map MEMBER m_map)

public:
	explicit MapWidgetHelper(QObject *parent = NULL);

	void centerOnDiveSite(struct dive_site *);

private:
	QObject *m_map;
};

#endif