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
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected