From: Lars Op den Kamp Date: Tue, 2 Oct 2012 22:40:10 +0000 (+0200) Subject: update client applications X-Git-Tag: upstream/2.2.0~1^2~17^2^2~50 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8e0a2616941be1adf296e77ada37e337a2dafd5c;p=deb_libcec.git update client applications --- diff --git a/src/cec-config/cec-config.cpp b/src/cec-config/cec-config.cpp index 36bdb21..cbc94bb 100644 --- a/src/cec-config/cec-config.cpp +++ b/src/cec-config/cec-config.cpp @@ -110,7 +110,7 @@ bool GetWord(string& data, string& word) return true; } -int CecLogMessage(void *UNUSED(cbParam), const cec_log_message &message) +int CecLogMessage(void *UNUSED(cbParam), const cec_log_message message) { switch (message.level) { @@ -127,14 +127,14 @@ int CecLogMessage(void *UNUSED(cbParam), const cec_log_message &message) return 0; } -int CecKeyPress(void *UNUSED(cbParam), const cec_keypress &key) +int CecKeyPress(void *UNUSED(cbParam), const cec_keypress key) { g_lastKey = key.keycode; g_keyEvent.Signal(); return 0; } -int CecCommand(void *UNUSED(cbParam), const cec_command &command) +int CecCommand(void *UNUSED(cbParam), const cec_command command) { g_lastCommand = command.opcode; g_responseEvent.Signal(); diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 1609558..dc68b60 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -129,7 +129,7 @@ bool GetWord(string& data, string& word) return true; } -int CecLogMessage(void *UNUSED(cbParam), const cec_log_message &message) +int CecLogMessage(void *UNUSED(cbParam), const cec_log_message message) { if ((message.level & g_cecLogLevel) == message.level) { @@ -171,17 +171,17 @@ int CecLogMessage(void *UNUSED(cbParam), const cec_log_message &message) return 0; } -int CecKeyPress(void *UNUSED(cbParam), const cec_keypress &UNUSED(key)) +int CecKeyPress(void *UNUSED(cbParam), const cec_keypress UNUSED(key)) { return 0; } -int CecCommand(void *UNUSED(cbParam), const cec_command &UNUSED(command)) +int CecCommand(void *UNUSED(cbParam), const cec_command UNUSED(command)) { return 0; } -int CecAlert(void *UNUSED(cbParam), const libcec_alert type, const libcec_parameter &UNUSED(param)) +int CecAlert(void *UNUSED(cbParam), const libcec_alert type, const libcec_parameter UNUSED(param)) { switch (type) {