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

Function GetLibCecCallbacks

src/dotnetlib/CecSharpTypesUnmanaged.h:211–222  ·  view source on GitHub ↗

Assign the callback methods in the g_cecCallbacks struct and return a pointer to it

Source from the content-addressed store, hash-verified

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}

Callers 2

EnableCallbacksFunction · 0.85
LibCecSharp.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected