Skip to content

Commit 4c0d4ae

Browse files
dkumar798ramasat
authored andcommitted
RDKEMW-7761: Move Telemetry related APIs to the Telemetry plugin
1 parent 04cb4ea commit 4c0d4ae

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

apis/Telemetry/ITelemetry.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ namespace WPEFramework
3131
{
3232
enum { ID = ID_TELEMETRY };
3333

34+
struct EXTERNAL TelemetrySuccess {
35+
bool success;
36+
};
37+
3438
// @event
3539
struct EXTERNAL INotification : virtual public Core::IUnknown
3640
{
@@ -76,16 +80,16 @@ namespace WPEFramework
7680
// @text setOptOutTelemetry
7781
// @brief Sets the telemetry opt-out status.
7882
// @param OptOut - in - boolean
79-
// @param TelemetrySuccess - out - struct
80-
virtual Core::hresult SetOptOutTelemetry(const bool OptOut /* @text Opt-Out */, TelemetrySuccess& successResult /* @out */) = 0;
83+
// @param - out - struct
84+
virtual Core::hresult SetOptOutTelemetry(const bool optOut /* @text Opt-Out */, & successResult /* @out */) = 0;
8185
/**********************setOptOutTelemetry() - end*****************************************/
8286

8387
/**********************isOptOutTelemetry() - start***************************************/
8488
// @text isOptOutTelemetry
8589
// @brief Checks the telemetry opt-out status.
8690
// @param OptOut - out - boolean
8791
// @param success - out - boolean
88-
virtual Core::hresult IsOptOutTelemetry(bool& OptOut /* @out @text Opt-Out*/, bool& success /* @out */) = 0
92+
virtual Core::hresult IsOptOutTelemetry(bool& optOut /* @out @text Opt-Out*/, bool& success /* @out */) = 0
8993
/**********************isOptOutTelemetry() - end*****************************************/
9094
};
9195
} // namespace Exchange

0 commit comments

Comments
 (0)