aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-06 12:00:28 +0900
committerScott Murray <scott.murray@konsulko.com>2018-08-16 13:45:13 -0400
commit58d5aa69c638b5e6d59f858516385e01fe248031 (patch)
tree3f4861d711cd4f0ef0a1406912dc7fbbf374cc6d /include
parentba66f5506b4abdaf61ff5caa51dadc3d397fe5a0 (diff)
Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. [Patch Sets 2] Make a copy of the string returned by getenv. BUG-AGL: SPEC-1645 Change-Id: I042015ee92c4c142418b1ac15d51a9408e219757 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/libhomescreen.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libhomescreen.hpp b/include/libhomescreen.hpp
index 4a92059..ea35d1e 100644
--- a/include/libhomescreen.hpp
+++ b/include/libhomescreen.hpp
@@ -51,7 +51,7 @@ public:
/* Method */
int init(const int port, const std::string& token);
- int tapShortcut(const char* application_name);
+ int tapShortcut(const char* application_id);
int onScreenMessage(const char* display_message);
int onScreenReply(const char* reply_message);
@@ -77,6 +77,7 @@ private:
struct afb_wsj1* sp_websock;
struct afb_wsj1_itf minterface;
sd_event* mploop;
+ std::string mapp_id;
std::string muri;
int mport = 2000;