--- a/qthighway/xqservice/src/xqappmgr.h Thu Sep 02 21:20:48 2010 +0300
+++ b/qthighway/xqservice/src/xqappmgr.h Fri Sep 17 08:34:25 2010 +0300
@@ -62,9 +62,15 @@
*/
enum ServiceStatus
{
- Unknown=0, /*!< Not known */
- Enabled, /*!< Service enabled */
- Disabled /*!< Service disabled, e.g. required config not OK */
+ Unknown=0, // Not known
+ Enabled, // Service enabled
+ Disabled // Service disabled, e.g. required config not OK,
+ };
+
+ enum ServiceState
+ {
+ ServiceStarted=0,
+ ServiceStopped
};
XQApplicationManager();
@@ -100,13 +106,20 @@
bool getDrmAttributes(const XQSharableFile &file, const QList<int> &attributeNames, QVariantList &attributeValues);
ServiceStatus status(const XQAiwInterfaceDescriptor& implementation);
-
+
+ bool notifyRunning(XQAiwInterfaceDescriptor& serviceImplDescriptor);
+ bool cancelNotifyRunning(XQAiwInterfaceDescriptor& serviceImplDescriptor);
+
signals:
-
+ void serviceStarted(XQAiwInterfaceDescriptor serviceImplDescriptor);
+ void serviceStopped(XQAiwInterfaceDescriptor serviceImplDescriptor);
+
private:
// Disable copy contructor
Q_DISABLE_COPY(XQApplicationManager)
XQApplicationManagerPrivate *d;
+
+ friend class XQApplicationManagerPrivate;
};
#endif