A simple .ini file interface.

Dependents:   Smart-WiFly-WebServer SignalGenerator WattEye X10Svr

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Sun Nov 13 02:04:16 2016 +0000
Parent:
13:d5957065d066
Child:
15:3fc2b87a234d
Commit message:
Add GetFile api

Changed in this revision

IniManager.h Show annotated file Show diff for this revision Revisions of this file
--- a/IniManager.h	Sun Sep 04 02:40:40 2016 +0000
+++ b/IniManager.h	Sun Nov 13 02:04:16 2016 +0000
@@ -67,6 +67,12 @@
     */
     bool SetFile(const char * file);
 
+    /** get the filename in use
+    *
+    * @returns pointer to the filename
+    */
+    const char * GetFile(void) { return iniFile; }
+
     /** Read a string from the ini file - if it exists.
     *
     * This searches the ini file for the named section and key and if found it will