From 7283842cbed6a378d430552d327eab4a27775538 Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Sun, 6 Jul 2014 17:22:25 +0200 Subject: Moved watchConnector to daemon and implemented daemon interface for QML --- app/pebble.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'app/pebble.cpp') 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 #include -#include "watchconnector.h" - -using namespace watch; +#include "daemonproxy.h" int main(int argc, char *argv[]) { - // Registert WatchController object on QML side - qmlRegisterType("watch", 0, 1, "WatchConnector"); + // Register Pebble daemon interface object on QML side + qmlRegisterType("org.pebbled", 0, 1, "PebbledInterface"); return SailfishApp::main(argc, argv); } -- cgit v1.2.3