Skip to content

Commit 29ac4f1

Browse files
committed
RDKEMW-1061: RDK-E Add COMRPC
Reason for change: Create the interface file for HdmiCecSource Test Procedure: Risks: low Priority: P1 Signed-off-by:Hayden Gfeller [email protected]
1 parent 08ab8fd commit 29ac4f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

HdmiCecSource/HdmiCecSourceImplementation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ namespace WPEFramework
954954
return cecSettingEnabled;
955955
}
956956

957-
uint32_t HdmiCecSourceImplementation::SetEnabled(bool &enabled, bool &success)
957+
uint32_t HdmiCecSourceImplementation::SetEnabled(const bool &enabled, bool &success)
958958
{
959959
LOGINFO("Entered SetEnabled ");
960960

@@ -975,7 +975,7 @@ namespace WPEFramework
975975
return Core::ERROR_NONE;
976976
}
977977

978-
uint32_t HdmiCecSourceImplementation::SetOTPEnabled(bool &enabled, bool &success)
978+
uint32_t HdmiCecSourceImplementation::SetOTPEnabled(const bool &enabled, bool &success)
979979
{
980980
if (cecOTPSettingEnabled != enabled)
981981
{

HdmiCecSource/HdmiCecSourceImplementation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,9 @@ namespace WPEFramework {
317317
std::list<Exchange::IHdmiCecSource::INotification*> _hdmiCecSourceNotifications;
318318

319319
public:
320-
uint32_t SetEnabled(bool &enabled, bool &success) override;
320+
uint32_t SetEnabled(const bool &enabled, bool &success) override;
321321
uint32_t GetEnabled(bool &enabled, bool &success) override;
322-
uint32_t SetOTPEnabled(bool &enabled, bool &success) override;
322+
uint32_t SetOTPEnabled(const bool &enabled, bool &success) override;
323323
uint32_t GetOTPEnabled(bool &enabled, bool &success) override;
324324
uint32_t SetOSDName(const string &name, bool &success) override;
325325
uint32_t GetOSDName(string &name, bool &success) override;

0 commit comments

Comments
 (0)