repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: simplified AddLog() method
[deb_libcec.git]
/
src
/
lib
/
implementations
/
ANCommandHandler.cpp
diff --git
a/src/lib/implementations/ANCommandHandler.cpp
b/src/lib/implementations/ANCommandHandler.cpp
index bf9dea52a25d982c027bc5345f06421f0094561a..1df94fa061c1a194936737bf1c7310d5a14b04fd 100644
(file)
--- a/
src/lib/implementations/ANCommandHandler.cpp
+++ b/
src/lib/implementations/ANCommandHandler.cpp
@@
-33,6
+33,7
@@
#include "ANCommandHandler.h"
#include "../devices/CECBusDevice.h"
#include "../CECProcessor.h"
#include "ANCommandHandler.h"
#include "../devices/CECBusDevice.h"
#include "../CECProcessor.h"
+#include "../LibCEC.h"
using namespace CEC;
using namespace CEC;
@@
-62,10
+63,7
@@
bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command)
if (key.keycode != CEC_USER_CONTROL_CODE_UNKNOWN)
{
if (key.keycode != CEC_USER_CONTROL_CODE_UNKNOWN)
{
- CStdString strLog;
- strLog.Format("key pressed: %1x", key.keycode);
- m_busDevice->AddLog(CEC_LOG_DEBUG, strLog);
-
+ CLibCEC::AddLog(CEC_LOG_DEBUG, "key pressed: %1x", key.keycode);
m_busDevice->GetProcessor()->AddKey(key);
}
}
m_busDevice->GetProcessor()->AddKey(key);
}
}