Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion HdmiCecSink/HdmiCecSink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ namespace WPEFramework
}
}

void HdmiCecSink::onPowerModeChanged(const PowerState &currentState, const PowerState &newState)
void HdmiCecSink::onPowerModeChanged(const PowerState currentState, const PowerState newState)
{
if(!HdmiCecSink::_instance)
return;
Expand Down
5 changes: 3 additions & 2 deletions HdmiCecSink/HdmiCecSink.h
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,8 @@ namespace WPEFramework {
void sendKeyReleaseEvent(const int logicalAddress);
void sendUserControlPressed(const int logicalAddress, int keyCode);
void sendUserControlReleased(const int logicalAddress);
void onPowerModeChanged(const PowerState &currentState, const PowerState &newState);
void sendGiveAudioStatusMsg();
void onPowerModeChanged(const PowerState currentState, const PowerState newState);
void registerEventHandlers();
void sendGiveAudioStatusMsg();
void getHdmiArcPortID();
Expand All @@ -599,7 +600,7 @@ namespace WPEFramework {
~PowerManagerNotification() override = default;

public:
void OnPowerModeChanged(const PowerState &currentState, const PowerState &newState) override
void OnPowerModeChanged(const PowerState currentState, const PowerState newState) override
{
_parent.onPowerModeChanged(currentState, newState);
}
Expand Down
2 changes: 1 addition & 1 deletion HdmiCecSource/HdmiCecSourceImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ namespace WPEFramework
}
}

void HdmiCecSourceImplementation::onPowerModeChanged(const PowerState &currentState, const PowerState &newState)
void HdmiCecSourceImplementation::onPowerModeChanged(const PowerState currentState, const PowerState newState)
{
if(!HdmiCecSourceImplementation::_instance)
return;
Expand Down
4 changes: 2 additions & 2 deletions HdmiCecSource/HdmiCecSourceImplementation.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ namespace WPEFramework {
public:
HdmiCecSourceImplementation();
virtual ~HdmiCecSourceImplementation();
void onPowerModeChanged(const PowerState &currentState, const PowerState &newState);
void onPowerModeChanged(const PowerState currentState, const PowerState newState);
void registerEventHandlers();
static HdmiCecSourceImplementation* _instance;
CECDeviceInfo_2 deviceList[16];
Expand Down Expand Up @@ -239,7 +239,7 @@ namespace WPEFramework {
~PowerManagerNotification() override = default;

public:
void OnPowerModeChanged(const PowerState &currentState, const PowerState &newState) override
void OnPowerModeChanged(const PowerState currentState, const PowerState newState) override
{
_parent.onPowerModeChanged(currentState, newState);
}
Expand Down
Loading