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

Method CallbackMenuStateChanged

src/libcec/CECClient.cpp:1790–1801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1788}
1789
1790int 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
1803int CCECClient::CallbackCommandHandler(const cec_command &command)
1804{

Callers

nothing calls this directly

Calls 2

ToStringFunction · 0.85
AddLogMethod · 0.45

Tested by

no test coverage detected