From: wang_zhiqiang Date: Thu, 16 May 2019 03:07:16 +0000 (+0800) Subject: add getRunnalbes X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Flibqthomescreen.git;a=commitdiff_plain;h=2cb3de1f0029741e50d2fdf842c8da0a4f3fc52b add getRunnalbes Change-Id: I88d37b5e335e773f1035f0ac2b2dfcba74f98a96 --- diff --git a/src/qlibhomescreen.cpp b/src/qlibhomescreen.cpp index c67d408..b530055 100644 --- a/src/qlibhomescreen.cpp +++ b/src/qlibhomescreen.cpp @@ -314,3 +314,18 @@ void QLibHomeScreen::showNotification(QString icon, QString text) mp_hs->showNotification(j_obj); } + +/** + * get runnables list from homescreen-service + * + * #### Parameters + * - Nothing + * + * #### Resturn + * - None. + * + */ +void QLibHomeScreen::getRunnables(void) +{ + mp_hs->getRunnables(); +} \ No newline at end of file diff --git a/src/qlibhomescreen.h b/src/qlibhomescreen.h index 5dd1ae5..53a461e 100644 --- a/src/qlibhomescreen.h +++ b/src/qlibhomescreen.h @@ -58,6 +58,7 @@ public: Q_INVOKABLE void showWindow(QString application_id, QString area); Q_INVOKABLE void hideWindow(QString application_id); Q_INVOKABLE void replyShowWindow(QString application_id, QString reply); + Q_INVOKABLE void getRunnables(void); signals: