X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=82c0a603fd7455417aa03960705bd4f056a1bc08;hb=224ea8772f229d2d7dafcdbf64c4266c9b4de35e;hp=35f41c9a7136bbc8fd0227431a83c83bb0fb3974;hpb=b0a7410c263717618b20fe4be5d3732105c5af97;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 35f41c9..82c0a60 100644 --- a/include/cec.h +++ b/include/cec.h @@ -376,6 +376,18 @@ namespace CEC */ 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;