cec: made the Get...Version() methods const
[deb_libcec.git] / include / cec.h
index 4389d7bfa849101c86250265952b1b74f94202bb..19bc4d35e74fbe130ddc73aa5650f9b7f52e8261 100644 (file)
@@ -71,14 +71,19 @@ namespace CEC
     //@}
 
     /*!
-     * @see cec_get_min_version
+     * @see cec_get_min_lib_version
      */
-    virtual int8_t GetMinVersion(void) = 0;
+    virtual int8_t GetMinLibVersion(void) const = 0;
 
     /*!
-     * @see cec_get_lib_version
+     * @see cec_get_lib_version_major
      */
-    virtual int8_t GetLibVersion(void) = 0;
+    virtual int8_t GetLibVersionMajor(void) const = 0;
+
+    /*!
+     * @see cec_get_lib_version_minor
+     */
+    virtual int8_t GetLibVersionMinor(void) const = 0;
 
     /*!
      * @see cec_get_next_log_message
@@ -154,6 +159,11 @@ namespace CEC
      * @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;
   };
 };