summaryrefslogtreecommitdiff
path: root/qmapwatchlet/qmapwatchletplugin.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-17 04:57:27 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-17 04:57:27 +0200
commit659c53b0d8faf26e6f06334833b2e105a4c4193d (patch)
tree8dced84e65f3c662622159acb6ab096bfc005976 /qmapwatchlet/qmapwatchletplugin.h
parenta2059b5cfaa600402dfbec5d63099fd724998e9f (diff)
downloadsowatch-659c53b0d8faf26e6f06334833b2e105a4c4193d.tar.gz
sowatch-659c53b0d8faf26e6f06334833b2e105a4c4193d.zip
trying to make the map watchlet more useful
Diffstat (limited to 'qmapwatchlet/qmapwatchletplugin.h')
-rw-r--r--qmapwatchlet/qmapwatchletplugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmapwatchlet/qmapwatchletplugin.h b/qmapwatchlet/qmapwatchletplugin.h
index 04ff348..3d10213 100644
--- a/qmapwatchlet/qmapwatchletplugin.h
+++ b/qmapwatchlet/qmapwatchletplugin.h
@@ -1,6 +1,7 @@
#ifndef QMAPWATCHLETPLUGIN_H
#define QMAPWATCHLETPLUGIN_H
+#include <QtLocation/QGeoServiceProvider>
#include <sowatch.h>
namespace sowatch
@@ -18,6 +19,11 @@ public:
QStringList watchlets();
WatchletInfo describeWatchlet(const QString &id);
Watchlet* getWatchlet(const QString &id, ConfigKey *config, WatchServer *server);
+
+ static QtMobility::QGeoServiceProvider * geoServiceProvider();
+
+private:
+ static QtMobility::QGeoServiceProvider *_provider;
};
}