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

Function CecSourceActivatedCB

src/dotnetlib/CecSharpTypesUnmanaged.h:187–192  ·  view source on GitHub ↗

Called by libCEC to notify the application that the source that is handled by libCEC was (de)activated Pointer to the callback struct The logical address that was (de)activated True when activated, false when deactivated

Source from the content-addressed store, hash-verified

185 /// <param name="logicalAddress">The logical address that was (de)activated</param>
186 /// <param name="activated">True when activated, false when deactivated</param>
187 static void CecSourceActivatedCB(void* cbParam, const CEC::cec_logical_address logicalAddress, const uint8_t activated)
188 {
189 struct UnmanagedCecCallbacks* cb = static_cast<struct UnmanagedCecCallbacks*>(cbParam);
190 if (!!cb && !!cb->sourceActivatedCB)
191 cb->sourceActivatedCB(logicalAddress, activated);
192 }
193
194 /// <summary>
195 /// Called by libCEC to have the client handle the command and prevent further process by libCEC

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected