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

Method CallbackSourceActivated

src/libcec/CECClient.cpp:1770–1778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1768}
1769
1770void CCECClient::CallbackSourceActivated(bool bActivated, const cec_logical_address logicalAddress)
1771{
1772 CLockObject lock(m_cbMutex);
1773 if (!!m_configuration.callbacks &&
1774 !!m_configuration.callbacks->sourceActivated)
1775 {
1776 m_configuration.callbacks->sourceActivated(m_configuration.callbackParam, logicalAddress, bActivated ? 1 : 0);
1777 }
1778}
1779
1780void CCECClient::CallbackAlert(const libcec_alert type, const libcec_parameter &param)
1781{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected