cec: specify the device on which the HDMI port will be selected in SetHDMIPort()
[deb_libcec.git] / include / cec.h
index c1e48223805963fd4185bcdf7aa05df0183c35bf..6fef4827e75a0ec419b9403bf300a45032cec3e3 100644 (file)
@@ -265,10 +265,11 @@ namespace CEC
 
     /*!
      * @brief Changes the active HDMI port.
+     * @param iBaseDevice The device to which this libcec is connected.
      * @param iPort The new port number.
      * @return True when changed, false otherwise.
      */
-    virtual bool SetHDMIPort(uint8_t iPort) = 0;
+    virtual bool SetHDMIPort(cec_logical_address iBaseDevice, uint8_t iPort) = 0;
 
     /*!
      * @brief Sends a volume up keypress to an audiosystem if it's present.