summaryrefslogtreecommitdiff
path: root/app/pebble.cpp
diff options
context:
space:
mode:
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);
}