cec: show the power status as string instead of int
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.h
index 58b13e9724c38516d066946e6570264d75bc4fa3..a29076449ceea8c349ec9feb02bf2d0b72067672 100644 (file)
@@ -47,11 +47,13 @@ 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_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);
 
   protected:
+    virtual bool HandleActiveSource(const cec_command &command);
     virtual bool HandleDeviceCecVersion(const cec_command &command);
     virtual bool HandleDeviceVendorCommandWithId(const cec_command &command);
     virtual bool HandleDeviceVendorId(const cec_command &command);