X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=7db751448054ada9711fbf92c0b1ed831d8db373;hb=1b2120236aca8246e1c5fba371db99e5da3d3f0e;hp=8b31d2cf7155327af957dd1d1cdb87c18a285989;hpb=15d1a84cf1eeaa80ab27ec3f48390073ca2ded75;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 8b31d2c..7db7514 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -47,17 +47,6 @@ 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); - static const char *ToString(const cec_deck_info status); - static const char* ToString(const cec_logical_address address); - static const char* ToString(const cec_opcode opcode); - static const char *ToString(const cec_system_audio_status mode); - static const char *ToString(const cec_audio_status status); - static const char *ToString(const cec_vendor_id vendor); - protected: virtual bool HandleActiveSource(const cec_command &command); virtual bool HandleDeckControl(const cec_command &command); @@ -71,6 +60,8 @@ 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); @@ -83,7 +74,8 @@ namespace CEC 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); @@ -94,6 +86,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; }; };