diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-02-20 13:52:59 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-03-25 19:42:35 +0800 |
commit | 211769e800f3a57de55b3774de82af55d2a0160a (patch) | |
tree | 07325ab1aeacb9a0c349e1927812e8080ff8744c /src/hs-clientmanager.h | |
parent | 25299ef60fa4df5f590ff364cff004e90376a4bf (diff) |
Start app and get runnables list by homescreen
1.start application in showWindow.
2.add "getRunnables" verb.
3.handle "application-list-changed" event from afm-main and add "application-list-changed" event.
Bug-AGL: SPEC-2188
Change-Id: I619b97424d20af373a945ff502a8133339916923
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'src/hs-clientmanager.h')
-rw-r--r-- | src/hs-clientmanager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hs-clientmanager.h b/src/hs-clientmanager.h index d485ea8..efc36de 100644 --- a/src/hs-clientmanager.h +++ b/src/hs-clientmanager.h @@ -46,6 +46,7 @@ public: static HS_ClientManager* instance(void); int init(void); int handleRequest(afb_req_t request, const char *verb, const char *appid = nullptr); + int pushEvent(const char *event, struct json_object *param, std::string appid = ""); void removeClientCtxt(void *data); // don't use, internal only private: |