- virtual bool Transmit(const cec_frame &data, bool bWaitForAck = true);
- virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress);
- protected:
- virtual bool TransmitFormatted(const cec_frame &data, bool bWaitForAck = true);
+ virtual bool Transmit(const cec_command &data);
+ virtual bool SetLogicalAddress(cec_logical_address iLogicalAddress = CECDEVICE_UNKNOWN);
+ virtual bool SetPhysicalAddress(uint16_t iPhysicalAddress);
+ virtual bool SwitchMonitoring(bool bEnable);
+ virtual cec_version GetDeviceCecVersion(cec_logical_address iAddress);
+ virtual bool GetDeviceMenuLanguage(cec_logical_address iAddress, cec_menu_language *language);
+ virtual uint64_t GetDeviceVendorId(cec_logical_address iAddress);
+ virtual cec_power_status GetDevicePowerStatus(cec_logical_address iAddress);
+
+ virtual cec_logical_address GetLogicalAddress(void) const { return m_iLogicalAddress; }
+ virtual uint16_t GetPhysicalAddress(void) const;
+ virtual const std::string &GetDeviceName(void) { return m_strDeviceName; }
+
+ virtual void SetCurrentButton(cec_user_control_code iButtonCode);
+ virtual void AddCommand(const cec_command &command);
+ virtual void AddKey(void);
+ virtual void AddLog(cec_log_level level, const CStdString &strMessage);
+