| 1788 | } |
| 1789 | |
| 1790 | int CCECClient::CallbackMenuStateChanged(const cec_menu_state newState) |
| 1791 | { |
| 1792 | LIB_CEC->AddLog(CEC_LOG_DEBUG, ">> %s: %s", ToString(CEC_OPCODE_MENU_REQUEST), ToString(newState)); |
| 1793 | |
| 1794 | CLockObject lock(m_cbMutex); |
| 1795 | if (!!m_configuration.callbacks && |
| 1796 | !!m_configuration.callbacks->menuStateChanged) |
| 1797 | { |
| 1798 | return m_configuration.callbacks->menuStateChanged(m_configuration.callbackParam, newState); |
| 1799 | } |
| 1800 | return 0; |
| 1801 | } |
| 1802 | |
| 1803 | int CCECClient::CallbackCommandHandler(const cec_command &command) |
| 1804 | { |