X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=82c0a603fd7455417aa03960705bd4f056a1bc08;hb=718b36327e63c34d6eaebacfe1d3c9cd76fc86ef;hp=c3fbe10aa880563d01daff86be5c4bb2ed5c2333;hpb=caca2d81263ae8fd7400298329a4a2e95bdb99e1;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index c3fbe10..82c0a60 100644 --- a/include/cec.h +++ b/include/cec.h @@ -369,6 +369,25 @@ namespace CEC */ virtual cec_logical_addresses GetLogicalAddresses(void) = 0; + /*! + * @brief Get libCEC's current configuration. + * @param configuration The configuration. + * @return True when the configuration was updated, false otherwise. + */ + virtual bool GetCurrentConfiguration(libcec_configuration *configuration) = 0; + + /*! + * @return True when this device can persist the user configuration, false otherwise. + */ + virtual bool CanPersistConfiguration(void) = 0; + + /*! + * @brief Persist the given configuration in adapter (if supported) + * @brief The configuration to store. + * @return True when the configuration was persisted, false otherwise. + */ + virtual bool PersistConfiguration(libcec_configuration *configuration) = 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;