cec: cleanups, documentation and some fixes for the last commits
[deb_libcec.git] / src / lib / adapter / USBCECAdapterCommands.h
index 389aa5f680a74a44d19ccf125491f0f45a9b5ffd..d961240fc13c3ca282c53a5c41545792505f004c 100644 (file)
@@ -57,14 +57,14 @@ namespace CEC
      * @param configuration The configuration to persist.
      * @return True when persisted, false otherwise.
      */
-    bool PersistConfiguration(libcec_configuration *configuration);
+    bool PersistConfiguration(const libcec_configuration &configuration);
 
     /*!
      * @brief Get the persisted configuration from the EEPROM.
      * @param configuration The persisted configuration.
      * @return True when retrieved, false otherwise.
      */
-    bool GetConfiguration(libcec_configuration *configuration);
+    bool GetConfiguration(libcec_configuration &configuration);
 
     /*!
      * @brief Send a ping command to the adapter.