X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=245d39e8aa64a81d10f8589ab09f50c34da5da6c;hb=0b775bf2f3832de0bf4cf894b68e6f48baca4959;hp=aed84fdfd816f69552c3e1d6369e64bf5f2dff4e;hpb=c409848208093a15758c91e3fab9fbe806a62e12;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index aed84fd..245d39e 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -47,6 +47,7 @@ namespace CEC virtual bool HandleCommand(const cec_command &command); virtual cec_vendor_id GetVendorId(void) { return CEC_VENDOR_UNKNOWN; }; + static const char *ToString(const cec_menu_state state); static const char *ToString(const cec_deck_control_mode mode); static const char *ToString(const cec_version version); static const char *ToString(const cec_power_status status); @@ -70,15 +71,22 @@ namespace CEC virtual bool HandleGiveDeviceVendorId(const cec_command &command); virtual bool HandleGiveOSDName(const cec_command &command); virtual bool HandleGivePhysicalAddress(const cec_command &command); + virtual bool HandleGiveSystemAudioModeStatus(const cec_command &command); + virtual bool HandleImageViewOn(const cec_command &command); virtual bool HandleMenuRequest(const cec_command &command); + virtual bool HandleReportAudioStatus(const cec_command &command); + virtual bool HandleReportPhysicalAddress(const cec_command &command); virtual bool HandleReportPowerStatus(const cec_command &command); virtual bool HandleRequestActiveSource(const cec_command &command); virtual bool HandleRoutingChange(const cec_command &command); + virtual bool HandleRoutingInformation(const cec_command &command); virtual bool HandleSetMenuLanguage(const cec_command &command); + virtual bool HandleSetOSDName(const cec_command &command); virtual bool HandleSetStreamPath(const cec_command &command); virtual bool HandleSetSystemAudioModeRequest(const cec_command &command); virtual bool HandleStandby(const cec_command &command); - virtual bool HandleGiveSystemAudioModeStatus(const cec_command &command); + virtual bool HandleSystemAudioStatus(const cec_command &command); + virtual bool HandleTextViewOn(const cec_command &command); virtual bool HandleUserControlPressed(const cec_command &command); virtual bool HandleUserControlRelease(const cec_command &command); virtual void UnhandledCommand(const cec_command &command); @@ -89,6 +97,8 @@ namespace CEC virtual CCECBusDevice *GetDeviceByType(cec_device_type type) const; virtual void SetVendorId(const cec_command &command); + virtual void SetPhysicalAddress(cec_logical_address iAddress, uint16_t iNewAddress); + CCECBusDevice *m_busDevice; }; };