X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=5ef202635c97b6ef179c60e8674f77448d18912b;hb=a8919ed7f926bd101a4977b2e8b9598b84f65b45;hp=bf7a4735eb7840f3e9f486f5b4212e4d9d1a08b3;hpb=2492216a2285656be7a2b548eddd986fd8d6c2b3;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index bf7a473..5ef2026 100644 --- a/include/cec.h +++ b/include/cec.h @@ -80,6 +80,11 @@ namespace CEC */ virtual int8_t GetLibVersion(void) = 0; + /*! + * @see cec_get_lib_version + */ + virtual int8_t GetLibVersionMinor(void) = 0; + /*! * @see cec_get_next_log_message */ @@ -98,7 +103,7 @@ namespace CEC /*! * @see cec_transmit */ - virtual bool Transmit(const cec_command &data, bool bWaitForAck = true) = 0; + virtual bool Transmit(const cec_command &data) = 0; /*! * @see cec_set_logical_address @@ -129,6 +134,36 @@ namespace CEC * @see cec_set_inactive_view */ virtual bool SetInactiveView(void) = 0; + + /*! + * @see cec_set_osd_string + */ + virtual bool SetOSDString(cec_logical_address iLogicalAddress, cec_display_control duration, const char *strMessage) = 0; + + /*! + * @see cec_switch_monitoring + */ + virtual bool SwitchMonitoring(bool bEnable) = 0; + + /*! + * @see cec_get_device_cec_version + */ + virtual cec_version GetDeviceCecVersion(cec_logical_address iAddress) = 0; + + /*! + * @see cec_get_device_menu_language + */ + virtual bool GetDeviceMenuLanguage(cec_logical_address iAddress, cec_menu_language *language) = 0; + + /*! + * @see cec_get_device_vendor_id + */ + virtual uint64_t GetDeviceVendorId(cec_logical_address iAddress) = 0; + + /*! + * @see cec_get_device_power_status + */ + virtual cec_power_status GetDevicePowerStatus(cec_logical_address iAddress) = 0; }; };