diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-11-14 11:17:48 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-11-27 09:39:51 +0800 |
commit | 4667d93a852d66a57a2d7d26957c3aab6845756e (patch) | |
tree | 79ec39160f3a8c5a7f5787f7b32e3dae88585be6 /homescreen/src/homescreenhandler.h | |
parent | 42fe4411428f81427ce8993886e28504012219d2 (diff) |
add new features in homescreen-service and homescreen
homescreen-service: add five verbs.
1.showWindow: instead of tap_shortcut and show onscreen.
2.hideWindow: used when want to hide onscreen.
3.replyShowWindow: used when post onscreen reply information to application.
4.showNotification: used by application who want to display notification on homescreen top area.
5.showInformation: used by application who want to display information on homescreen botton area.
homescreen:
display notification and information.
Bug-AGL: SPEC-1931
Change-Id: Ia17a9793c5d284458009ea71eb9594a40286fa8c
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'homescreen/src/homescreenhandler.h')
-rw-r--r-- | homescreen/src/homescreenhandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/homescreen/src/homescreenhandler.h b/homescreen/src/homescreenhandler.h index 1a9a2b5..5dfe041 100644 --- a/homescreen/src/homescreenhandler.h +++ b/homescreen/src/homescreenhandler.h @@ -40,6 +40,10 @@ public: static void* myThis; static void onRep_static(struct json_object* reply_contents); static void onEv_static(const string& event, struct json_object* event_contents); + +signals: + void showNotification(QString application_id, QString icon_path, QString text); + void showInformation(QString info); private: LibHomeScreen *mp_hs; }; |