repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
win32: removed unneeded Stdafx. cleaned up targets
[deb_libcec.git]
/
src
/
LibCecSharp
/
LibCecSharp.cpp
diff --git
a/src/LibCecSharp/LibCecSharp.cpp
b/src/LibCecSharp/LibCecSharp.cpp
index 58e244613491081af68a8cb54f6fad33bd6b527c..3aa1253512034786373e2ad432bfeff429ae623a 100644
(file)
--- a/
src/LibCecSharp/LibCecSharp.cpp
+++ b/
src/LibCecSharp/LibCecSharp.cpp
@@
-525,21
+525,21
@@
static KEYCB g_keyCB;
static COMMANDCB g_commandCB;
static ICECCallbacks g_cecCallbacks;
static COMMANDCB g_commandCB;
static ICECCallbacks g_cecCallbacks;
-int CecLogMessageCB(const cec_log_message &message)
+int CecLogMessageCB(
void *cbParam,
const cec_log_message &message)
{
if (g_logCB)
return g_logCB(message);
return 0;
}
{
if (g_logCB)
return g_logCB(message);
return 0;
}
-int CecKeyPressCB(const cec_keypress &key)
+int CecKeyPressCB(
void *cbParam,
const cec_keypress &key)
{
if (g_keyCB)
return g_keyCB(key);
return 0;
}
{
if (g_keyCB)
return g_keyCB(key);
return 0;
}
-int CecCommandCB(const cec_command &command)
+int CecCommandCB(
void *cbParam,
const cec_command &command)
{
if (g_commandCB)
return g_commandCB(command);
{
if (g_commandCB)
return g_commandCB(command);
@@
-641,7
+641,7
@@
public:
{
m_bHasCallbacks = true;
m_callbacks = callbacks;
{
m_bHasCallbacks = true;
m_callbacks = callbacks;
- return m_libCec->EnableCallbacks(&g_cecCallbacks);
+ return m_libCec->EnableCallbacks(
NULL,
&g_cecCallbacks);
}
return false;
}
return false;