| 635 | } |
| 636 | |
| 637 | bool CCECClient::SendSetMenuState(const cec_menu_state state, bool bSendUpdate /* = true */) |
| 638 | { |
| 639 | CECDEVICEVEC devices; |
| 640 | |
| 641 | // set the menu state for all devices that are controlled by us |
| 642 | m_processor->GetDevices()->GetByLogicalAddresses(devices, m_configuration.logicalAddresses); |
| 643 | for (CECDEVICEVEC::iterator it = devices.begin(); it != devices.end(); it++) |
| 644 | { |
| 645 | (*it)->SetMenuState(state); |
| 646 | if (bSendUpdate) |
| 647 | (*it)->TransmitMenuState(CECDEVICE_TV, false); |
| 648 | } |
| 649 | |
| 650 | return true; |
| 651 | } |
| 652 | |
| 653 | bool CCECClient::SendSetInactiveView(void) |
| 654 | { |
no test coverage detected