summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-03 20:05:54 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-03 20:05:54 +0200
commitfba422cb3999e5c1a35849891861faa24494bd50 (patch)
tree9abcc5832dfcf5dcbbd7502fa726b0ccb71950c2
parent5a3fa2fbda32f5d1ed13e852964bc74f1b484471 (diff)
downloadsowatch-fba422cb3999e5c1a35849891861faa24494bd50.tar.gz
sowatch-fba422cb3999e5c1a35849891861faa24494bd50.zip
delete old stuff
-rw-r--r--libsowatch/main.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/libsowatch/main.cpp b/libsowatch/main.cpp
deleted file mode 100644
index d0eae3f..0000000
--- a/libsowatch/main.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-#include <QtGui/QApplication>
-#include <QtConnectivity/QBluetoothAddress>
-
-#include "metawatchsimulator.h"
-#include "metawatch.h"
-#include "watchserver.h"
-#include "testwatchlet.h"
-#include "testdeclarativewatchlet.h"
-
-using namespace sowatch;
-QTM_USE_NAMESPACE
-
-static Watch *watch;
-static WatchServer *server;
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
-
- if (a.arguments().count() > 1) {
- watch = new MetaWatch(QBluetoothAddress(a.arguments().at(1)));
- } else {
- watch = new MetaWatchSimulator();
- }
-
- /* D0:37:61:C3:C7:99 */
- server = new WatchServer(watch);
- new TestDeclarativeWatchlet(server);
- new TestWatchlet(server);
-
- server->runWatchlet("com.javispedro.sowatch.testdeclarativewatchlet");
- //server->runWatchlet("com.javispedro.sowatch.testwatchlet");
-
- return a.exec();
-}