X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=5edbe1819fd2b777f8133e9f75a3423d1a740cba;hb=16b1e052e4a14432ca3bd6007e0e977ff2bed6ae;hp=2e47abde32cb17ff4a13f89e4d787e3470eda31a;hpb=b8176e3ce6b8d9c9e6e91a2aeb64243ad37e4234;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 2e47abd..5edbe18 100644 --- a/include/cec.h +++ b/include/cec.h @@ -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; }; };