cec: and reverted the previous commit again (partially) cause it wouldn't compile...
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.h
index 7129b400793ed473769f9b36b4c6be24799d16c4..0505c7cc81ff23e77ec1a78ae0bc825d4d1e152b 100644 (file)
@@ -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,19 @@ 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);
 
+    void SendToCommandBuffer(const cec_command &command);
+
+    CCECBusDevice *GetDevice(cec_logical_address iLogicalAddress) const;
+    CCECBusDevice *GetThisDevice(void) const;
     CCECBusDevice *m_busDevice;
   };
 };