Skip to content

Commit 293bf32

Browse files
RDKEMW-2653 ISystemMode.h Interface header not following coding guide… (#219)
* RDKEMW-2653 ISystemMode.h Interface header not following coding guidelines Reason for change: Solve the guideline issues on ISystemMode.h Test Procedure: verify build success and basic test Risks: Low Priority: P1 Signed-off-by: [email protected] * RDKEMW-2653 ISystemMode.h Interface header not following coding guideline Reason for change: Solve the guideline issues on ISystemMode.h Test Procedure: verify build success and basic test Risks: Low Priority: P1 Signed-off-by: [email protected] * RDKEMW-2653 ISystemMode.h Interface header not following coding guideline Reason for change: Solve the guideline issues on ISystemMode.h Test Procedure: verify build success and basic test Risks: Low Priority: P1 Signed-off-by: [email protected] --------- Signed-off-by: [email protected] Co-authored-by: Anand Kandasamy <[email protected]>
1 parent d5c43eb commit 293bf32

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apis/SystemMode/IDeviceOptimizeStateActivator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Exchange {
3030

3131
/// Requests the component to asynchronously transition to the new state.
3232
/// @param[in] newState The new target state to transition to.
33-
virtual void Request(const string& newState /* @in @text newState*/) = 0;
33+
virtual Core::hresult Request(const string& newState /* @in @text newState*/) = 0;
3434
};
3535
}
3636
}

apis/SystemMode/ISystemMode.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ struct EXTERNAL ISystemMode : virtual public Core::IUnknown {
6161
// @brief To put client plugin entry in map.
6262
// @param[in] callsign callsign of client.
6363
// @param[in] systemMode The system mode.
64-
// @returns uint32_t
65-
virtual uint32_t ClientActivated(const string& callsign /* @in @text callsign*/ ,const string& systemMode) = 0;
64+
// @returns Core::hresult
65+
virtual Core::hresult ClientActivated(const string& callsign /* @in @text callsign*/ ,const string& systemMode) = 0;
6666

6767
// @text clientDeactivated
6868
// @brief To put client plugin entry in map.
6969
// @param[in] callsign callsign of client.
7070
// @param[in] systemMode The system mode.
71-
// @returns uint32_t
72-
virtual uint32_t ClientDeactivated(const string& callsign /* @in @text callsign*/, const string& systemMode) = 0;
71+
// @returns Core::hresult
72+
virtual Core::hresult ClientDeactivated(const string& callsign /* @in @text callsign*/, const string& systemMode) = 0;
7373
};
7474
} // namespace Exchange
7575
} // namespace WPEFramework

0 commit comments

Comments
 (0)