From 2952af5dfc96861f1fc1716668a7e6a22fd45b26 Mon Sep 17 00:00:00 2001
From: pixel <pixel>
Date: Mon, 24 Sep 2007 07:50:43 +0000
Subject: Adding begin/end iterators for config files.

---
 lib/ConfigFile.cc | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

(limited to 'lib')

diff --git a/lib/ConfigFile.cc b/lib/ConfigFile.cc
index bfb6a60..f71b79f 100644
--- a/lib/ConfigFile.cc
+++ b/lib/ConfigFile.cc
@@ -17,7 +17,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-/* $Id: ConfigFile.cc,v 1.5 2007-05-30 11:57:09 pixel Exp $ */
+/* $Id: ConfigFile.cc,v 1.6 2007-09-24 07:50:43 pixel Exp $ */
 
 #include "ConfigFile.h"
 #include "BRegex.h"
@@ -62,3 +62,11 @@ ConfigFile::ConfigFile(Handle * f) throw (GeneralException) {
 ConfigSectionContents & ConfigFile::operator[](String s) {
     return c[s];
 }
+
+ConfigSectionIterator ConfigFile::begin() {
+    return c.begin();
+}
+
+ConfigSectionIterator ConfigFile::end() {
+    return c.end();
+}
-- 
cgit v1.2.3