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

Method RequestMenuLanguage

src/libcec/devices/CECBusDevice.cpp:464–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464bool CCECBusDevice::RequestMenuLanguage(const cec_logical_address initiator, bool bWaitForResponse /* = true */)
465{
466 bool bReturn(false);
467
468 if (!IsHandledByLibCEC() &&
469 !IsUnsupportedFeature(CEC_OPCODE_GET_MENU_LANGUAGE))
470 {
471 MarkBusy();
472 LIB_CEC->AddLog(CEC_LOG_DEBUG, "<< requesting menu language of '%s' (%X)", GetLogicalAddressName(), m_iLogicalAddress);
473 bReturn = m_handler->TransmitRequestMenuLanguage(initiator, m_iLogicalAddress, bWaitForResponse);
474 MarkReady();
475 }
476 return bReturn;
477}
478
479bool CCECBusDevice::TransmitSetMenuLanguage(const cec_logical_address destination, bool bIsReply)
480{

Callers

nothing calls this directly

Calls 2

AddLogMethod · 0.45

Tested by

no test coverage detected