@@ -49,9 +49,9 @@ namespace WPEFramework {
49
49
INTERNAL = 500 /* @text internal */
50
50
};
51
51
52
- struct EXTERNAL XCastSuccess {
53
- bool success /* @text success */ /* @brief true if the request was successful, false otherwise */ ;
54
- };
52
+ // struct EXTERNAL XCastSuccess {
53
+ // bool success /* @text success */ /* @brief true if the request was successful, false otherwise */;
54
+ // };
55
55
56
56
struct EXTERNAL ApplicationInfo {
57
57
string appName /* @text name */ /* @brief Application name in request URI must have exact match to one of the names. Otherwise, matching prefix is needed. If the application name in request URI does not match any names or prefixes, then the request shall fail */ ;
@@ -114,7 +114,7 @@ namespace WPEFramework {
114
114
// @param applicationId: Application instance ID
115
115
// @param error: Error string, if any
116
116
// @param success: Whether the request succeeded
117
- virtual Core::hresult UpdateApplicationState (const string& applicationName /* @in @text applicationName */ , const State& state /* @in @text state */ , const string& applicationId /* @in @text applicationId */ , const ErrorCode& error /* @in @text error */ , XCastSuccess & success /* @out */ ) = 0;
117
+ virtual Core::hresult UpdateApplicationState (const string& applicationName /* @in @text applicationName */ , const State& state /* @in @text state */ , const string& applicationId /* @in @text applicationId */ , const ErrorCode& error /* @in @text error */ , bool & success /* @out */ ) = 0;
118
118
/* ***************************************UpdateApplicationState()*****************************/
119
119
120
120
/* ***************************************getProtocolVersion()**********************************/
@@ -130,7 +130,7 @@ namespace WPEFramework {
130
130
// @brief Sets the manufacturer name of the device
131
131
// @param manufacturer: The Manufacturer name of the device which used to update in dd.xml
132
132
// @param success: Whether the request succeeded
133
- virtual Core::hresult SetManufacturerName (const string &manufacturername /* @in @text manufacturer */ , XCastSuccess & success /* @out */ ) = 0;
133
+ virtual Core::hresult SetManufacturerName (const string &manufacturername /* @in @text manufacturer */ , bool & success /* @out */ ) = 0;
134
134
/* **************************************** setManufacturerName() **********************************/
135
135
136
136
/* ***************************************getManufacturerName()**********************************/
@@ -146,7 +146,7 @@ namespace WPEFramework {
146
146
// @brief Sets the model name of the device
147
147
// @param model: The Model name of the device which used to update in dd.xml
148
148
// @param success: Whether the request succeeded
149
- virtual Core::hresult SetModelName (const string &modelname /* @in @text model */ , XCastSuccess & success /* @out */ ) = 0;
149
+ virtual Core::hresult SetModelName (const string &modelname /* @in @text model */ , bool & success /* @out */ ) = 0;
150
150
/* **************************************** setModelName() **********************************/
151
151
152
152
/* ***************************************getModelName()**********************************/
@@ -162,7 +162,7 @@ namespace WPEFramework {
162
162
// @brief Enable or disable XCAST service
163
163
// @parm enabled: true for enabled or false for disabled
164
164
// @param success: Whether the request succeeded
165
- virtual Core::hresult SetEnabled (const bool & enabled /* @in @text enabled */ , XCastSuccess & success /* @out */ ) = 0;
165
+ virtual Core::hresult SetEnabled (const bool & enabled /* @in @text enabled */ , bool & success /* @out */ ) = 0;
166
166
/* **************************************** setEnabled() **********************************/
167
167
168
168
/* ***************************************getEnabled()**********************************/
@@ -178,7 +178,7 @@ namespace WPEFramework {
178
178
// @brief Sets the expected xcast behavior in standby mode
179
179
// @param standbybehavior: whether to remain active or inactive during standby mode (must be one of the following: active, inactive)
180
180
// @param success: Whether the request succeeded
181
- virtual Core::hresult SetStandbyBehavior (const StandbyBehavior &standbybehavior /* @in @text standbybehavior */ , XCastSuccess & success /* @out */ ) = 0;
181
+ virtual Core::hresult SetStandbyBehavior (const StandbyBehavior &standbybehavior /* @in @text standbybehavior */ , bool & success /* @out */ ) = 0;
182
182
/* **************************************** setStandbyBehavior() *********************************/
183
183
184
184
/* ***************************************getStandbyBehavior()**********************************/
@@ -194,7 +194,7 @@ namespace WPEFramework {
194
194
// @brief Sets the friendly name of the device
195
195
// @param friendlyname: The friendly name of the device which used to display on the client device list
196
196
// @param success: Whether the request succeeded
197
- virtual Core::hresult SetFriendlyName (const string &friendlyname /* @in @text friendlyname */ , XCastSuccess & success /* @out */ ) = 0;
197
+ virtual Core::hresult SetFriendlyName (const string &friendlyname /* @in @text friendlyname */ , bool & success /* @out */ ) = 0;
198
198
/* **************************************** setFriendlyName() **********************************/
199
199
200
200
/* ***************************************getFriendlyName()**********************************/
@@ -210,15 +210,15 @@ namespace WPEFramework {
210
210
// @brief Registers an application
211
211
// @param applications: Json array with one or more application details to register
212
212
// @param success: Whether the request succeeded
213
- virtual Core::hresult RegisterApplications (IApplicationInfoIterator* const appInfoList /* @text applications */ , XCastSuccess & success /* @out */ ) = 0;
213
+ virtual Core::hresult RegisterApplications (IApplicationInfoIterator* const appInfoList /* @text applications */ , bool & success /* @out */ ) = 0;
214
214
/* ***************************************registerApplications()**********************************/
215
215
216
216
/* ***************************************unregisterApplications()**********************************/
217
217
// @text unregisterApplications
218
218
// @brief Unregisters an application
219
219
// @param applications: One or more application name to unregister
220
220
// @param success: Whether the request succeeded
221
- virtual Core::hresult UnregisterApplications (IStringIterator* const applications /* @in @text applications */ , XCastSuccess & success /* @out */ ) = 0;
221
+ virtual Core::hresult UnregisterApplications (IStringIterator* const applications /* @in @text applications */ , bool & success /* @out */ ) = 0;
222
222
/* ***************************************unregisterApplications()**********************************/
223
223
224
224
0 commit comments