X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2FHomeScreen.git;a=blobdiff_plain;f=HomeScreen%2Fsrc2%2Fapplicationlauncher.h;fp=HomeScreen%2Fsrc2%2Fapplicationlauncher.h;h=00fbbe86afbef31d3e84d0770a55a31abea7c2c1;hp=14acae8c5eba58dabd4bb9b6005fb7716cf0c9f3;hb=c4242e92275d4309d3947ff28a7cd3b9f008d8c6;hpb=1ec9bfac42b0ddd9fb61449a1a8ecdd43b218185 diff --git a/HomeScreen/src2/applicationlauncher.h b/HomeScreen/src2/applicationlauncher.h index 14acae8..00fbbe8 100644 --- a/HomeScreen/src2/applicationlauncher.h +++ b/HomeScreen/src2/applicationlauncher.h @@ -25,18 +25,24 @@ class ApplicationLauncher : public QObject { Q_OBJECT + Q_PROPERTY(QString current READ current WRITE setCurrent NOTIFY currentChanged) public: explicit ApplicationLauncher(QObject *parent = NULL); ~ApplicationLauncher(); + QString current() const; + signals: void newAppRequestsToBeVisible(int pid); + void currentChanged(const QString ¤t); public slots: int launch(const QString &application); + void setCurrent(const QString ¤t); private: org::agl::appframework *mp_dBusAppFrameworkProxy; + QString m_current; }; #endif // APPLICATIONLAUNCHER_H