20 #ifndef UNITY_SHELL_APPLICATION_APPLICATIONINFOINTERFACE_H
21 #define UNITY_SHELL_APPLICATION_APPLICATIONINFOINTERFACE_H
23 #include <unity/SymbolExport.h>
25 #include <QtCore/QObject>
26 #include <QtCore/QUrl>
55 Q_PROPERTY(QString appId READ appId CONSTANT)
62 Q_PROPERTY(QString name READ name NOTIFY nameChanged)
70 Q_PROPERTY(QString comment READ comment NOTIFY commentChanged)
77 Q_PROPERTY(QUrl icon READ icon NOTIFY iconChanged)
84 Q_PROPERTY(
Stage stage READ stage NOTIFY stageChanged)
91 Q_PROPERTY(
State state READ state NOTIFY stateChanged)
98 Q_PROPERTY(
bool focused READ focused NOTIFY focusedChanged)
105 Q_PROPERTY(QUrl screenshot READ screenshot NOTIFY screenshotChanged)
148 virtual QString appId()
const = 0;
149 virtual QString name()
const = 0;
150 virtual QString comment()
const = 0;
151 virtual QUrl icon()
const = 0;
152 virtual Stage stage()
const = 0;
153 virtual State state()
const = 0;
154 virtual bool focused()
const = 0;
155 virtual QUrl screenshot()
const = 0;
160 void nameChanged(
const QString &name);
161 void commentChanged(
const QString &comment);
162 void iconChanged(
const QUrl &icon);
163 void stageChanged(Stage stage);
164 void stateChanged(State state);
165 void focusedChanged(
bool focused);
166 void screenshotChanged(
const QUrl &screenshot);
174 #endif // UNITY_SHELL_APPLICATIONMANAGER_APPLICATIONINFOINTERFACE_H
Stage
A enum that defines a stage.
Definition: ApplicationInfoInterface.h:121
State
An application's state.
Definition: ApplicationInfoInterface.h:138
A class that holds information about applications.
Definition: ApplicationInfoInterface.h:42