diff options
Diffstat (limited to 'launcher/src/applicationlauncher.h')
-rw-r--r-- | launcher/src/applicationlauncher.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/launcher/src/applicationlauncher.h b/launcher/src/applicationlauncher.h index d205994..4cb8e79 100644 --- a/launcher/src/applicationlauncher.h +++ b/launcher/src/applicationlauncher.h @@ -19,8 +19,11 @@ #ifndef APPLICATIONLAUNCHER_H #define APPLICATIONLAUNCHER_H +#include <QTimer> #include <QtCore/QObject> +#include "launcher.h" + class QTimer; class ApplicationLauncher : public QObject @@ -29,10 +32,11 @@ class ApplicationLauncher : public QObject Q_PROPERTY(bool launching READ isLaunching NOTIFY launchingChanged) Q_PROPERTY(QString current READ current WRITE setCurrent NOTIFY currentChanged) public: - explicit ApplicationLauncher(QObject *parent = NULL); + explicit ApplicationLauncher(const QString &afm_conn_str, QObject *parent = NULL); bool isLaunching() const; QString current() const; + Launcher *get_launcher(void) { return m_launcher; } signals: void newAppRequestsToBeVisible(int pid); @@ -50,6 +54,7 @@ private: bool m_launching; QString m_current; QTimer *m_timeout; + Launcher *m_launcher; }; #endif // APPLICATIONLAUNCHER_H |