X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FANCommandHandler.cpp;h=1df94fa061c1a194936737bf1c7310d5a14b04fd;hb=b5f787b969b7e0517321ebbfe069ac65c330982e;hp=248a959368c6eacdf9f6cf470958a5711af720ad;hpb=2ffc8cddcb866da58a4a45923823ad9fb1c296eb;p=deb_libcec.git diff --git a/src/lib/implementations/ANCommandHandler.cpp b/src/lib/implementations/ANCommandHandler.cpp index 248a959..1df94fa 100644 --- a/src/lib/implementations/ANCommandHandler.cpp +++ b/src/lib/implementations/ANCommandHandler.cpp @@ -33,7 +33,7 @@ #include "ANCommandHandler.h" #include "../devices/CECBusDevice.h" #include "../CECProcessor.h" -#include "../util/StdString.h" +#include "../LibCEC.h" using namespace CEC; @@ -63,10 +63,7 @@ bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command) 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); } }