A simple .ini file interface.

Dependents:   Smart-WiFly-WebServer SignalGenerator WattEye X10Svr

Revision:
22:1ad96fcc5731
Parent:
19:8f394a5f3758
Child:
23:18b5f3d7ef14
--- a/IniManager.h	Mon Jan 16 02:09:09 2017 +0000
+++ b/IniManager.h	Sat Mar 31 21:07:53 2018 +0000
@@ -70,9 +70,9 @@
     *       has the right path prefix based on what file system you have.
     * @param[in] Version is an optional parameter that defines whether 
     *       the return value of the ReadString and WriteString APIs 
-    *       are version 1 or version 2 compatible. The default is version 1.
+    *       are version 1 or version 2 compatible. The default is version 2.
     */
-    INI(const char * file = NULL, int Version = 1);
+    INI(const char * file = NULL, int Version = 2);
 
     /** destructor for the ini manager.
     *
@@ -100,10 +100,10 @@
     * @param[in] file is the filename to manage.
     * @param[in] Version is an optional parameter that defines whether 
     *       the return value of the ReadString and WriteString APIs 
-    *       are version 1 or version 2 compatible. The default is version 1.
+    *       are version 1 or version 2 compatible. The default is version 2.
     * @returns true if success, false if memory could not be allocated.
     */
-    bool SetFile(const char * file, int Version = 1);
+    bool SetFile(const char * file, int Version = 2);
 
     /** get the filename in use
     *