cec: added SetHDMIPort()/cec_set_hdmi_port(). devices are now detected on load and...
[deb_libcec.git] / include / cec.h
index 2e47abde32cb17ff4a13f89e4d787e3470eda31a..5edbe1819fd2b777f8133e9f75a3423d1a740cba 100644 (file)
@@ -262,6 +262,13 @@ namespace CEC
      * @return True when active, false otherwise.
      */
     virtual bool IsActiveDeviceType(cec_device_type type) = 0;
+
+    /*!
+     * @brief Changes the active HDMI port.
+     * @param iPort The new port number.
+     * @return True when changed, false otherwise.
+     */
+    virtual bool SetHDMIPort(uint8_t iPort) = 0;
   };
 };