Code Review
/
apps
/
homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
homescreenhandler: Avoid passing an invalid appid
[apps/homescreen.git]
/
homescreen
/
src
/
homescreenhandler.h
diff --git
a/homescreen/src/homescreenhandler.h
b/homescreen/src/homescreenhandler.h
index
6dbf31b
..
503221a
100644
(file)
--- a/
homescreen/src/homescreenhandler.h
+++ b/
homescreen/src/homescreenhandler.h
@@
-20,6
+20,7
@@
#include <QObject>
#include "applicationlauncher.h"
#include <QObject>
#include "applicationlauncher.h"
+#include "applaunch_interface.h"
#include "shell.h"
#include <string>
#include "shell.h"
#include <string>
@@
-47,12
+48,21
@@
public:
static void onEv_static(const string& event, struct json_object* event_contents);
#endif
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);
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;
private:
ApplicationLauncher *mp_launcher;
Shell *aglShell;
+ org::automotivelinux::AppLaunch *applaunch_iface;
+ QStringList apps_stack;
};
#endif // HOMESCREENHANDLER_H
};
#endif // HOMESCREENHANDLER_H