diff options
Diffstat (limited to 'mobile-widgets/qmlmapwidgethelper.h')
-rw-r--r-- | mobile-widgets/qmlmapwidgethelper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmapwidgethelper.h b/mobile-widgets/qmlmapwidgethelper.h index 83f9df140..3a7f28eb0 100644 --- a/mobile-widgets/qmlmapwidgethelper.h +++ b/mobile-widgets/qmlmapwidgethelper.h @@ -4,6 +4,7 @@ #include <QObject>
+class QGeoCoordinate;
class MapLocationModel;
class MapLocation;
struct dive_site;
@@ -19,6 +20,7 @@ public: void centerOnDiveSite(struct dive_site *);
void reloadMapLocations();
+ Q_INVOKABLE void copyToClipboardCoordinates(QGeoCoordinate coord, bool formatTraditional);
private:
QObject *m_map;
@@ -31,4 +33,6 @@ signals: void modelChanged();
};
+extern "C" const char *printGPSCoords(int lat, int lon);
+
#endif
|