summaryrefslogtreecommitdiff
path: root/daemon/watchconnector.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-12-07 23:39:29 +0100
committerJavier <dev.git@javispedro.com>2014-12-07 23:39:29 +0100
commita60c1cb3c4afd6dfd305115ec4c52e993172fa7d (patch)
tree1a12cfaed45b923ed511de388d556ccc705c9e6a /daemon/watchconnector.h
parent49c20eb7e2933ae6e9e4337fc0fe9b49a39efde8 (diff)
ability to upload apps
Diffstat (limited to 'daemon/watchconnector.h')
-rw-r--r--daemon/watchconnector.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h
index a5fe1ea..1aaf39d 100644
--- a/daemon/watchconnector.h
+++ b/daemon/watchconnector.h
@@ -108,6 +108,7 @@ public:
enum AppManager {
appmgrGET_APPBANK_STATUS = 1,
appmgrREMOVE_APP = 2,
+ appmgrREFRESH_APP = 3,
appmgrGET_APPBANK_UUIDS = 5
};
enum AppMessage {
@@ -154,8 +155,19 @@ public:
osLINUX = 4,
osWINDOWS = 5
};
- enum {
- DEFAULT_TIMEOUT_MSECS = 100
+ enum UploadType {
+ uploadFIRMWARE = 1,
+ uploadRECOVERY = 2,
+ uploadSYS_RESOURCES = 3,
+ uploadRESOURCES = 4,
+ uploadBINARY = 5
+ };
+ enum PutBytesCommand {
+ putbytesINIT = 1,
+ putbytesSEND = 2,
+ putbytesCOMMIT = 3,
+ putbytesABORT = 4,
+ putbytesCOMPLETE = 5
};
typedef QMap<int, QVariant> Dict;