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

Method GetDeviceCecVersion

src/libcec/CECClient.cpp:680–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680cec_version CCECClient::GetDeviceCecVersion(const cec_logical_address iAddress)
681{
682 CCECBusDevice *device = m_processor->GetDevice(iAddress);
683 if (device)
684 return device->GetCecVersion(GetPrimaryLogicalAddress());
685 return CEC_VERSION_UNKNOWN;
686}
687
688std::string CCECClient::GetDeviceMenuLanguage(const cec_logical_address iAddress)
689{

Callers

nothing calls this directly

Calls 2

GetCecVersionMethod · 0.80
GetDeviceMethod · 0.45

Tested by

no test coverage detected