return addresses;
}
-bool CLibCEC::GetNextLogMessage(cec_log_message *message)
-{
- return m_client ? m_client->GetNextLogMessage(message) : false;
-}
-
-bool CLibCEC::GetNextKeypress(cec_keypress *key)
-{
- return m_client ? m_client->GetNextKeypress(key) : false;
-}
-
-bool CLibCEC::GetNextCommand(cec_command *command)
-{
- return m_client ? m_client->GetNextCommand(command) : false;
-}
-
cec_device_type CLibCEC::GetType(cec_logical_address address)
{
return CCECTypeUtils::GetType(address);
(*it)->Alert(type, param);
}
-bool CLibCEC::SetActiveView(void)
-{
- AddLog(CEC_LOG_WARNING, "deprecated method %s called", __FUNCTION__);
- return SetActiveSource();
-}
-
-bool CLibCEC::EnablePhysicalAddressDetection(void)
-{
- AddLog(CEC_LOG_WARNING, "deprecated method %s called", __FUNCTION__);
- return true;
-}
-
CCECClient *CLibCEC::RegisterClient(libcec_configuration &configuration)
{
if (!m_cec)
return CECInitialise(&configuration);
}
-void * CECCreate(const char *strDeviceName, CEC::cec_logical_address iLogicalAddress /* = CEC::CECDEVICE_PLAYBACKDEVICE1 */, uint16_t iPhysicalAddress /* = CEC_DEFAULT_PHYSICAL_ADDRESS */)
-{
- libcec_configuration configuration; configuration.Clear();
-
- // client version < 1.5.0
- snprintf(configuration.strDeviceName, 13, "%s", strDeviceName);
- configuration.iPhysicalAddress = iPhysicalAddress;
- configuration.deviceTypes.Add(CCECTypeUtils::GetType(iLogicalAddress));
-
- return CECInitialise(&configuration);
-}
-
bool CECStartBootloader(void)
{
bool bReturn(false);
{
return CCECTypeUtils::ToString(type);
}
-
-// no longer being used
-void CLibCEC::AddKey(const cec_keypress &UNUSED(key)) {}
-void CLibCEC::ConfigurationChanged(const libcec_configuration &UNUSED(config)) {}
-void CLibCEC::SetCurrentButton(cec_user_control_code UNUSED(iButtonCode)) {}
-CLibCEC *CLibCEC::GetInstance(void) { return NULL; }
-void CLibCEC::SetInstance(CLibCEC *UNUSED(instance)) {}