X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcec.h;h=5916ffdeee18ccbed5d5accf82fe92b1ee260bf7;hb=008a816cb7d84e5981daaa6e1b313ce8b5ac722d;hp=c083777f94a1482e8f28c923e2ab8466cb96d935;hpb=b492c10e731625d7c000654de2372b54339f7c8d;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index c083777..5916ffd 100644 --- a/include/cec.h +++ b/include/cec.h @@ -350,6 +350,25 @@ namespace CEC */ virtual bool IsActiveSource(cec_logical_address iAddress) = 0; + /*! + * @brief Sets the stream path to the device on the given logical address. + * @param iAddress The address to activate. + * @return True when the command was sent, false otherwise. + */ + virtual bool SetStreamPath(cec_logical_address iAddress) = 0; + + /*! + * @brief Sets the stream path to the device on the given logical address. + * @param iPhysicalAddress The address to activate. + * @return True when the command was sent, false otherwise. + */ + virtual bool SetStreamPath(uint16_t iPhysicalAddress) = 0; + + /*! + * @return The list of addresses that libCEC is controlling + */ + virtual cec_logical_addresses GetLogicalAddresses(void) = 0; + virtual const char *ToString(const cec_menu_state state) = 0; virtual const char *ToString(const cec_version version) = 0; virtual const char *ToString(const cec_power_status status) = 0;