summaryrefslogtreecommitdiffstats
path: root/src/hs-helper.h
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-10-30 19:12:18 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-10-30 19:12:18 +0800
commitd58138e0ceb19b3f201ec5e6e7126015db2cfead (patch)
tree837dae23643724e2d0c5ca28b1d9720411b7bf44 /src/hs-helper.h
parent789ecb879cc529400b290eb9750fd1f9298fc690 (diff)
Improve HS_ClientManager and fix issue
1.No longer operate HS_Client in homescreen.cpp,move to HS_ClientManager class. 2.In hs_client.cpp,afb_event_push return the count of clients that received the event, not push event result, in tap_shortcut/on_screen_message/on_screen_reply directly return zero. Bug-AGL: SPEC-1764 Change-Id: Ief17d3fe3a9c80937fbda05d1c158eeed3924a75 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'src/hs-helper.h')
-rw-r--r--src/hs-helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hs-helper.h b/src/hs-helper.h
index 3195daf..a2fc0a9 100644
--- a/src/hs-helper.h
+++ b/src/hs-helper.h
@@ -20,6 +20,9 @@
#include <afb/afb-binding.h>
#include <json-c/json.h>
+#define AFB_EVENT_BAD_REQUEST 100
+#define AFB_REQ_SUBSCRIBE_ERROR 101
+#define AFB_REQ_UNSUBSCRIBE_ERROR 102
typedef enum REQ_ERROR
{