equal
deleted
inserted
replaced
60 /*! |
60 /*! |
61 For the status() function |
61 For the status() function |
62 */ |
62 */ |
63 enum ServiceStatus |
63 enum ServiceStatus |
64 { |
64 { |
65 Unknown=0, /*!< Not known */ |
65 Unknown=0, // Not known |
66 Enabled, /*!< Service enabled */ |
66 Enabled, // Service enabled |
67 Disabled /*!< Service disabled, e.g. required config not OK */ |
67 Disabled // Service disabled, e.g. required config not OK, |
|
68 }; |
|
69 |
|
70 enum ServiceState |
|
71 { |
|
72 ServiceStarted=0, |
|
73 ServiceStopped |
68 }; |
74 }; |
69 |
75 |
70 XQApplicationManager(); |
76 XQApplicationManager(); |
71 virtual ~XQApplicationManager(); |
77 virtual ~XQApplicationManager(); |
72 |
78 |
98 |
104 |
99 bool getDrmAttributes(const QFile &file, const QList<int> &attributeNames, QVariantList &attributeValues); |
105 bool getDrmAttributes(const QFile &file, const QList<int> &attributeNames, QVariantList &attributeValues); |
100 bool getDrmAttributes(const XQSharableFile &file, const QList<int> &attributeNames, QVariantList &attributeValues); |
106 bool getDrmAttributes(const XQSharableFile &file, const QList<int> &attributeNames, QVariantList &attributeValues); |
101 |
107 |
102 ServiceStatus status(const XQAiwInterfaceDescriptor& implementation); |
108 ServiceStatus status(const XQAiwInterfaceDescriptor& implementation); |
|
109 |
|
110 bool notifyRunning(XQAiwInterfaceDescriptor& serviceImplDescriptor); |
|
111 bool cancelNotifyRunning(XQAiwInterfaceDescriptor& serviceImplDescriptor); |
|
112 |
|
113 signals: |
|
114 void serviceStarted(XQAiwInterfaceDescriptor serviceImplDescriptor); |
|
115 void serviceStopped(XQAiwInterfaceDescriptor serviceImplDescriptor); |
103 |
116 |
104 signals: |
|
105 |
|
106 private: |
117 private: |
107 // Disable copy contructor |
118 // Disable copy contructor |
108 Q_DISABLE_COPY(XQApplicationManager) |
119 Q_DISABLE_COPY(XQApplicationManager) |
109 XQApplicationManagerPrivate *d; |
120 XQApplicationManagerPrivate *d; |
|
121 |
|
122 friend class XQApplicationManagerPrivate; |
110 }; |
123 }; |
111 |
124 |
112 #endif |
125 #endif |