summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ConfigFile.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ConfigFile.h b/include/ConfigFile.h
index 87d111f..7328ce9 100644
--- a/include/ConfigFile.h
+++ b/include/ConfigFile.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: ConfigFile.h,v 1.6 2007-05-30 11:57:08 pixel Exp $ */
+/* $Id: ConfigFile.h,v 1.7 2007-09-24 07:50:43 pixel Exp $ */
#ifndef __CONFIGFILE_H__
#define __CONFIGFILE_H__
@@ -28,11 +28,15 @@
typedef std::map<String, String> ConfigSectionContents;
typedef std::map<String, ConfigSectionContents> ConfigSection;
+typedef std::map<String, String>::iterator ConfigSectionContentsIterator;
+typedef std::map<String, ConfigSectionContents>::iterator ConfigSectionIterator;
class ConfigFile : public Base {
public:
ConfigFile(Handle *) throw (GeneralException);
ConfigSectionContents & operator[](String);
+ ConfigSectionIterator begin();
+ ConfigSectionIterator end();
private:
ConfigSection c;
};