X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=5ad5ab01d98c78e57fd41e63c020cf50c4c4ee46;hb=3befc9811e59359c014c33c1276f869d5b59ac09;hp=e265038821e77d85435fa8226f3b2c7b08b19bed;hpb=16f47961800432dbdd5b3ead717908f383d26d6b;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index e265038..5ad5ab0 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -33,6 +33,7 @@ #include #include +#include #include "lib/platform/threads/mutex.h" namespace CEC @@ -137,8 +138,9 @@ namespace CEC virtual int HandleUserControlRelease(const cec_command &command); virtual int HandleVendorCommand(const cec_command &command); virtual int HandleVendorRemoteButtonDown(const cec_command& command); - virtual int HandleVendorRemoteButtonUp(const cec_command & UNUSED(command)) { return COMMAND_HANDLED; } + virtual int HandleVendorRemoteButtonUp(const cec_command& command) { return HandleUserControlRelease(command); } virtual void UnhandledCommand(const cec_command &command, const cec_abort_reason reason); + virtual void RequestEmailFromCustomer(const cec_command& command); virtual void VendorPreActivateSourceHook(void) {}; @@ -164,5 +166,6 @@ namespace CEC int64_t m_iActiveSourcePending; PLATFORM::CMutex m_mutex; int64_t m_iPowerStatusRequested; + std::map > m_logsRequested; }; };