summaryrefslogtreecommitdiff
path: root/app/pebble.cpp
diff options
context:
space:
mode:
authorPhilipp Andreas <github@smurfy.de>2015-01-14 02:10:36 +0100
committerPhilipp Andreas <github@smurfy.de>2015-01-14 02:10:36 +0100
commit857d9547a9fc4a00c6e621fb54720d047ba90864 (patch)
treed6aa0a6ea8bf76e6da7d353ff6084db82d583fa9 /app/pebble.cpp
parente8f9a4da6c486ee4da9ae300019856976ff0a760 (diff)
First prototype of pebble app store integration
Diffstat (limited to 'app/pebble.cpp')
-rw-r--r--app/pebble.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/pebble.cpp b/app/pebble.cpp
index 22f6ac1..dd3c915 100644
--- a/app/pebble.cpp
+++ b/app/pebble.cpp
@@ -34,6 +34,7 @@
#include <sailfishapp.h>
#include "pebbledinterface.h"
#include "pebbleappiconprovider.h"
+#include "pebblestoreview.h"
int main(int argc, char *argv[])
{
@@ -48,6 +49,8 @@ int main(int argc, char *argv[])
qmlRegisterUncreatableType<PebbledInterface>("org.pebbled", 0, 1, "PebbledInterface",
"Please use pebbled context property");
+ qmlRegisterType<PebbleStoreView>("org.pebbled", 0, 1, "PebbleStoreView");
+
QScopedPointer<QQuickView> view(SailfishApp::createView());
QScopedPointer<PebbledInterface> pebbled(new PebbledInterface);
QScopedPointer<PebbleAppIconProvider> appicons(new PebbleAppIconProvider(pebbled.data()));