cec: handle audio opcodes correctly
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.h
index 245d39e8aa64a81d10f8589ab09f50c34da5da6c..4d9a02163c9f25a4849fef8b99f315df965d16ed 100644 (file)
@@ -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);
@@ -83,9 +72,10 @@ namespace CEC
     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 HandleSystemAudioModeRequest(const cec_command &command);
     virtual bool HandleStandby(const cec_command &command);
-    virtual bool HandleSystemAudioStatus(const cec_command &command);
+    virtual bool HandleSystemAudioModeStatus(const cec_command &command);
+    virtual bool HandleSetSystemAudioMode(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);