cec: added typedefs for the callback methods
[deb_libcec.git] / src / testclient / main.cpp
index 43b01192a1e3f072ba775b297f40c6f3133250d1..5858eb6689050a7b2f3f01ed5d471488e7d4f226 100644 (file)
@@ -177,9 +177,9 @@ int CecCommand(const cec_command &UNUSED(command))
 
 void EnableCallbacks(ICECAdapter *adapter)
 {
-  g_callbacks.CecLogMessage = &CecLogMessage;
-  g_callbacks.CecKeyPress   = &CecKeyPress;
-  g_callbacks.CecCommand    = &CecCommand;
+  g_callbacks.CBCecLogMessage = &CecLogMessage;
+  g_callbacks.CBCecKeyPress   = &CecKeyPress;
+  g_callbacks.CBCecCommand    = &CecCommand;
   adapter->EnableCallbacks(&g_callbacks);
 }