use CCECCommandHandler::RequestEmailFromCustomer in CRLCommandHandler
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 18 Mar 2013 15:06:49 +0000 (16:06 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 18 Mar 2013 15:06:49 +0000 (16:06 +0100)
src/lib/implementations/RLCommandHandler.cpp

index 42bbe9ce0e7d651c128b81037df9ca416a972c86..913631b018e1da75965a4fe22ffabb7004a87501 100644 (file)
@@ -42,8 +42,6 @@
 using namespace CEC;
 using namespace PLATFORM;
 
-#define LIB_CEC     m_busDevice->GetProcessor()->GetLib()
-
 #define RL_KEY_TOP_MENU           0x10
 #define RL_KEY_DVD_MENU           0x11
 
@@ -121,7 +119,7 @@ int CRLCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &comman
           client->SetCurrentButton(CEC_USER_CONTROL_CODE_CONTENTS_MENU);
           break;
         default:
-          LIB_CEC->AddLog(CEC_LOG_NOTICE, "key with keycode '%02x' is not mapped in libCEC. please send an email to support@pulse-eight.com with this keycode, and tell which key you pressed, and we'll add support for this key.");
+          RequestEmailFromCustomer(command);
           break;
         }
         bHandled = true;