X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2Fhomescreenhandler.h;h=503221aaf5c653b7ca2c44819fa8d3375a59830a;hb=d1347bf236f84908fea96ba929e0e8376c2b1d78;hp=6dbf31b43ae24243397079b332c8057cd3d4e7d5;hpb=2b7ca7a6eeb79e03507abb7a16b0503591d2b064;p=apps%2Fhomescreen.git diff --git a/homescreen/src/homescreenhandler.h b/homescreen/src/homescreenhandler.h index 6dbf31b..503221a 100644 --- a/homescreen/src/homescreenhandler.h +++ b/homescreen/src/homescreenhandler.h @@ -20,6 +20,7 @@ #include #include "applicationlauncher.h" +#include "applaunch_interface.h" #include "shell.h" #include @@ -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