Skip to content

Commit 7fa00d0

Browse files
authored
RDKEMW-2854 : Update with success param in all the apis
1 parent 1b94e77 commit 7fa00d0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

apis/XCast/IXCast.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ namespace WPEFramework {
110110
// @param state: Application state
111111
// @param applicationId: Application instance ID
112112
// @param error: Error string, if any
113-
virtual Core::hresult ApplicationStateChanged(const string& applicationName /* @in @text applicationName */, const State& state /* @in @text state */, const string& applicationId /* @in @text applicationId */, const ErrorCode& error /* @in @text error */) = 0;
113+
virtual Core::hresult ApplicationStateChanged(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;
114114
/****************************************applicationStateChanged()*****************************/
115115

116116
/****************************************getProtocolVersion()**********************************/
@@ -125,7 +125,7 @@ namespace WPEFramework {
125125
// @text setManufacturerName
126126
// @brief Sets the manufacturer name of the device
127127
// @param manufacturer: The Manufacturer name of the device which used to update in dd.xml
128-
virtual Core::hresult SetManufacturerName(const string &manufacturername /* @in @text manufacturer */) = 0;
128+
virtual Core::hresult SetManufacturerName(const string &manufacturername /* @in @text manufacturer */, bool& success /* @out */) = 0;
129129
/***************************************** setManufacturerName() **********************************/
130130

131131
/****************************************getManufacturerName()**********************************/
@@ -140,7 +140,7 @@ namespace WPEFramework {
140140
// @text setModelName
141141
// @brief Sets the model name of the device
142142
// @param model: The Model name of the device which used to update in dd.xml
143-
virtual Core::hresult SetModelName(const string &modelname /* @in @text model */) = 0;
143+
virtual Core::hresult SetModelName(const string &modelname /* @in @text model */, bool& success /* @out */) = 0;
144144
/***************************************** setModelName() **********************************/
145145

146146
/****************************************getModelName()**********************************/
@@ -155,7 +155,7 @@ namespace WPEFramework {
155155
// @text setEnabled
156156
// @brief Enable or disable XCAST service
157157
// @parm enabled: true for enabled or false for disabled
158-
virtual Core::hresult SetEnabled(const bool& enabled /* @in @text enabled */) = 0;
158+
virtual Core::hresult SetEnabled(const bool& enabled /* @in @text enabled */, bool& success /* @out */) = 0;
159159
/***************************************** setEnabled() **********************************/
160160

161161
/****************************************getEnabled()**********************************/
@@ -170,7 +170,7 @@ namespace WPEFramework {
170170
// @text setStandbyBehavior
171171
// @brief Sets the expected xcast behavior in standby mode
172172
// @param standbybehavior: whether to remain active or inactive during standby mode (must be one of the following: active, inactive)
173-
virtual Core::hresult SetStandbyBehavior(const StandbyBehavior &standbybehavior /* @in @text standbybehavior */) = 0;
173+
virtual Core::hresult SetStandbyBehavior(const StandbyBehavior &standbybehavior /* @in @text standbybehavior */, bool& success /* @out */) = 0;
174174
/***************************************** setStandbyBehavior() *********************************/
175175

176176
/****************************************getStandbyBehavior()**********************************/
@@ -185,7 +185,7 @@ namespace WPEFramework {
185185
// @text setFriendlyName
186186
// @brief Sets the friendly name of the device
187187
// @param friendlyname: The friendly name of the device which used to display on the client device list
188-
virtual Core::hresult SetFriendlyName(const string &friendlyname /* @in @text friendlyname */) = 0;
188+
virtual Core::hresult SetFriendlyName(const string &friendlyname /* @in @text friendlyname */, bool& success /* @out */) = 0;
189189
/***************************************** setFriendlyName() **********************************/
190190

191191
/****************************************getFriendlyName()**********************************/
@@ -208,14 +208,14 @@ namespace WPEFramework {
208208
// @text registerApplications
209209
// @brief Registers an application
210210
// @param applications: Json array with one or more application details to register
211-
virtual Core::hresult RegisterApplications(IApplicationInfoIterator* const appInfoList /* @text applications */ ) = 0;
211+
virtual Core::hresult RegisterApplications(IApplicationInfoIterator* const appInfoList /* @text applications */ , bool& success /* @out */) = 0;
212212
/****************************************registerApplications()**********************************/
213213

214214
/****************************************unregisterApplications()**********************************/
215215
// @text unregisterApplications
216216
// @brief Unregisters an application
217217
// @param applications: One or more application name to unregister
218-
virtual Core::hresult UnregisterApplications(IStringIterator* const applications /* @in @text applications */) = 0;
218+
virtual Core::hresult UnregisterApplications(IStringIterator* const applications /* @in @text applications */, bool& success /* @out */) = 0;
219219
/****************************************unregisterApplications()**********************************/
220220

221221

0 commit comments

Comments
 (0)