A simple .ini file interface.
Dependents: Smart-WiFly-WebServer SignalGenerator WattEye X10Svr
Revision 22:1ad96fcc5731, committed 2018-03-31
- Comitter:
- WiredHome
- Date:
- Sat Mar 31 21:07:53 2018 +0000
- Parent:
- 21:a69c8ec96cb1
- Child:
- 23:18b5f3d7ef14
- Commit message:
- Change the default format to version 2.
Changed in this revision
| IniManager.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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
*