Add VIS vehicle signal support
[apps/homescreen.git] / homescreen / src / homescreenhandler.h
index 6dbf31b..503221a 100644 (file)
@@ -20,6 +20,7 @@
 #include <QObject>
 
 #include "applicationlauncher.h"
+#include "applaunch_interface.h"
 
 #include "shell.h"
 #include <string>
@@ -47,12 +48,21 @@ public:
     static void onEv_static(const string& event, struct json_object* event_contents);
 #endif
 
+    void addAppToStack(const QString& application_id);
+
 signals:
     void showNotification(QString application_id, QString icon_path, QString text);
     void showInformation(QString info);
+
+public slots:
+    void appStarted(const QString& application_id);
+    void appTerminated(const QString& application_id);
+
 private:
     ApplicationLauncher *mp_launcher;
     Shell *aglShell;
+    org::automotivelinux::AppLaunch *applaunch_iface;
+    QStringList apps_stack;
 };
 
 #endif // HOMESCREENHANDLER_H