| 1482 | } |
| 1483 | |
| 1484 | bool CCECClient::SwitchMonitoring(bool bEnable) |
| 1485 | { |
| 1486 | LIB_CEC->AddLog(CEC_LOG_NOTICE, "== %s monitoring mode ==", bEnable ? "enabling" : "disabling"); |
| 1487 | |
| 1488 | if (m_processor) |
| 1489 | { |
| 1490 | m_processor->SwitchMonitoring(bEnable); |
| 1491 | m_configuration.bMonitorOnly = bEnable; |
| 1492 | return bEnable ? true: m_processor->RegisterClient(this); |
| 1493 | } |
| 1494 | |
| 1495 | return false; |
| 1496 | } |
| 1497 | |
| 1498 | bool CCECClient::PollDevice(const cec_logical_address iAddress) |
| 1499 | { |
nothing calls this directly
no test coverage detected