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

Method HandleSetMenuLanguage

src/libcec/implementations/ANCommandHandler.cpp:126–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126int CANCommandHandler::HandleSetMenuLanguage(const cec_command &command)
127{
128 if (m_processor->CECInitialised() && command.initiator == CECDEVICE_TV && command.destination == CECDEVICE_BROADCAST)
129 {
130 m_processor->GetDevice(command.initiator)->SetPowerStatus(CEC_POWER_STATUS_ON);
131 }
132
133 return CCECCommandHandler::HandleSetMenuLanguage(command);
134}

Callers

nothing calls this directly

Calls 3

CECInitialisedMethod · 0.80
SetPowerStatusMethod · 0.80
GetDeviceMethod · 0.45

Tested by

no test coverage detected