X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=e7184dfc8d708836acd22e8d731e36c2d105541d;hb=cc60ab1c2549ae876890a6eea6120d7261276f61;hp=7129b400793ed473769f9b36b4c6be24799d16c4;hpb=1b5cc4a2517ee8e6cebb44063ea03eb4128b4ab1;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 7129b40..e7184df 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -44,8 +44,10 @@ namespace CEC virtual ~CCECCommandHandler(void) {}; virtual bool HandleCommand(const cec_command &command); + virtual cec_vendor_id GetVendorId(void) { return CEC_VENDOR_UNKNOWN; }; protected: + bool HandleDeviceCecVersion(const cec_command &command); bool HandleDeviceVendorCommandWithId(const cec_command &command); bool HandleDeviceVendorId(const cec_command &command); bool HandleGetCecVersion(const cec_command &command); @@ -55,13 +57,17 @@ namespace CEC bool HandleGiveOSDName(const cec_command &command); bool HandleGivePhysicalAddress(const cec_command &command); bool HandleMenuRequest(const cec_command &command); + bool HandleReportPowerStatus(const cec_command &command); bool HandleRequestActiveSource(const cec_command &command); bool HandleRoutingChange(const cec_command &command); + bool HandleSetMenuLanguage(const cec_command &command); bool HandleSetStreamPath(const cec_command &command); bool HandleUserControlPressed(const cec_command &command); bool HandleUserControlRelease(const cec_command &command); void UnhandledCommand(const cec_command &command); + CCECBusDevice *GetDevice(cec_logical_address iLogicalAddress) const; + CCECBusDevice *GetThisDevice(void) const; CCECBusDevice *m_busDevice; }; };