summaryrefslogtreecommitdiff
path: root/app/pebble.cpp
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-06 17:22:25 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-09 01:57:32 +0200
commit7283842cbed6a378d430552d327eab4a27775538 (patch)
tree708f4a2b4e702ddcc07bef8e6fdcd8f8a32a23ef /app/pebble.cpp
parentd3d54722d8532bd649db6792126c0a990712e26c (diff)
Moved watchConnector to daemon and implemented daemon interface for QML
Diffstat (limited to 'app/pebble.cpp')
-rw-r--r--app/pebble.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/pebble.cpp b/app/pebble.cpp
index 46e6298..623621d 100644
--- a/app/pebble.cpp
+++ b/app/pebble.cpp
@@ -32,14 +32,12 @@
#include <QtQuick>
#include <sailfishapp.h>
-#include "watchconnector.h"
-
-using namespace watch;
+#include "daemonproxy.h"
int main(int argc, char *argv[])
{
- // Registert WatchController object on QML side
- qmlRegisterType<WatchConnector>("watch", 0, 1, "WatchConnector");
+ // Register Pebble daemon interface object on QML side
+ qmlRegisterType<org::pebbled>("org.pebbled", 0, 1, "PebbledInterface");
return SailfishApp::main(argc, argv);
}