Assign the callback methods in the g_cecCallbacks struct and return a pointer to it
| 209 | /// Assign the callback methods in the g_cecCallbacks struct and return a pointer to it |
| 210 | /// </summary> |
| 211 | static CEC::ICECCallbacks* GetLibCecCallbacks() |
| 212 | { |
| 213 | g_cecCallbacks.logMessage = CecLogMessageCB; |
| 214 | g_cecCallbacks.keyPress = CecKeyPressCB; |
| 215 | g_cecCallbacks.commandReceived = CecCommandCB; |
| 216 | g_cecCallbacks.configurationChanged = CecConfigCB; |
| 217 | g_cecCallbacks.alert = CecAlertCB; |
| 218 | g_cecCallbacks.menuStateChanged = CecMenuCB; |
| 219 | g_cecCallbacks.sourceActivated = CecSourceActivatedCB; |
| 220 | g_cecCallbacks.commandHandler = CecCommandHandlerCB; |
| 221 | return &g_cecCallbacks; |
| 222 | } |
| 223 | #pragma managed |
| 224 | } |
no outgoing calls
no test coverage detected