21 #ifndef UNITY_SHELL_APPLICATION_APPLICATIONINFOINTERFACE_H
22 #define UNITY_SHELL_APPLICATION_APPLICATIONINFOINTERFACE_H
24 #include <unity/SymbolExport.h>
26 #include <QtCore/QObject>
27 #include <QtCore/QUrl>
57 Q_PROPERTY(QString appId READ appId CONSTANT)
64 Q_PROPERTY(QString name READ name NOTIFY nameChanged)
72 Q_PROPERTY(QString comment READ comment NOTIFY commentChanged)
79 Q_PROPERTY(QUrl icon READ icon NOTIFY iconChanged)
86 Q_PROPERTY(
Stage stage READ stage NOTIFY stageChanged)
93 Q_PROPERTY(
State state READ state NOTIFY stateChanged)
100 Q_PROPERTY(
bool focused READ focused NOTIFY focusedChanged)
111 Q_PROPERTY(QString splashTitle READ splashTitle CONSTANT)
123 Q_PROPERTY(QUrl splashImage READ splashImage CONSTANT)
141 Q_PROPERTY(
bool splashShowHeader READ splashShowHeader CONSTANT)
152 Q_PROPERTY(QColor splashColor READ splashColor CONSTANT)
165 Q_PROPERTY(QColor splashColorHeader READ splashColorHeader CONSTANT)
178 Q_PROPERTY(QColor splashColorFooter READ splashColorFooter CONSTANT)
184 Q_PROPERTY(Qt::ScreenOrientations supportedOrientations READ supportedOrientations CONSTANT)
198 Q_PROPERTY(
bool rotatesWindowContents READ rotatesWindowContents CONSTANT)
241 virtual QString appId()
const = 0;
242 virtual QString name()
const = 0;
243 virtual QString comment()
const = 0;
244 virtual QUrl icon()
const = 0;
245 virtual Stage stage()
const = 0;
246 virtual State state()
const = 0;
247 virtual bool focused()
const = 0;
248 virtual QString splashTitle()
const = 0;
249 virtual QUrl splashImage()
const = 0;
250 virtual bool splashShowHeader()
const = 0;
251 virtual QColor splashColor()
const = 0;
252 virtual QColor splashColorHeader()
const = 0;
253 virtual QColor splashColorFooter()
const = 0;
254 virtual Qt::ScreenOrientations supportedOrientations()
const = 0;
255 virtual bool rotatesWindowContents()
const = 0;
260 void nameChanged(
const QString &name);
261 void commentChanged(
const QString &comment);
262 void iconChanged(
const QUrl &icon);
263 void stageChanged(Stage stage);
264 void stateChanged(State state);
265 void focusedChanged(
bool focused);
273 #endif // UNITY_SHELL_APPLICATIONMANAGER_APPLICATIONINFOINTERFACE_H
Top-level namespace for all things Unity-related.
Definition: Version.h:37
Stage
A enum that defines a stage.
Definition: ApplicationInfoInterface.h:214
State
An application's state.
Definition: ApplicationInfoInterface.h:231
A class that holds information about applications.
Definition: ApplicationInfoInterface.h:44