MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / PowerOn

Method PowerOn

src/libcec/implementations/CECCommandHandler.cpp:918–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

916}
917
918bool CCECCommandHandler::PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination)
919{
920 if (iDestination == CECDEVICE_TV)
921 return TransmitImageViewOn(iInitiator, iDestination);
922
923 return TransmitKeypress(iInitiator, iDestination, CEC_USER_CONTROL_CODE_POWER) &&
924 TransmitKeyRelease(iInitiator, iDestination);
925}
926
927bool CCECCommandHandler::TransmitImageViewOn(const cec_logical_address iInitiator, const cec_logical_address iDestination)
928{

Callers 1

ActivateSourceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected