cec: added CanPersistConfiguration()/cec_can_persist_configuration() and PersistConfi...
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index 9762926cc10a23e0561b96914c13b2ba4fac2aa8..c169e169d3ae7c024f7bd75b2b9517a8e73cad06 100644 (file)
@@ -136,5 +136,12 @@ namespace CEC
      * @return True when the control mode has been set, false otherwise.
      */
     virtual bool SetControlledMode(bool controlled) = 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;
   };
 };