X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=cbc83463e6d327d2c953310e9cf54c3c7d1f1cca;hb=566a8c68bb4c34031b6f61b2afdcb05c9f1d755c;hp=82c0a603fd7455417aa03960705bd4f056a1bc08;hpb=224ea8772f229d2d7dafcdbf64c4266c9b4de35e;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 82c0a60..cbc8346 100644 --- a/include/cec.h +++ b/include/cec.h @@ -146,6 +146,7 @@ namespace CEC virtual bool SetPhysicalAddress(uint16_t iPhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS) = 0; /*! + * @deprecated Use libcec_configuration instead. * @brief Enable physical address detection (if the connected adapter supports this). * @return True when physical address detection was enabled, false otherwise. */ @@ -376,6 +377,13 @@ namespace CEC */ virtual bool GetCurrentConfiguration(libcec_configuration *configuration) = 0; + /*! + * @brief Change libCEC's configuration. + * @param configuration The new configuration. + * @return True when the configuration was changed successfully, false otherwise. + */ + virtual bool SetConfiguration(const libcec_configuration *configuration) = 0; + /*! * @return True when this device can persist the user configuration, false otherwise. */