add getRunnalbes
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Thu, 16 May 2019 03:07:16 +0000 (11:07 +0800)
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Thu, 16 May 2019 03:07:16 +0000 (11:07 +0800)
Change-Id: I88d37b5e335e773f1035f0ac2b2dfcba74f98a96

src/qlibhomescreen.cpp
src/qlibhomescreen.h

index c67d408..b530055 100644 (file)
@@ -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
index 5dd1ae5..53a461e 100644 (file)
@@ -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: