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);
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;
};
};