summaryrefslogtreecommitdiff
path: root/src/mgr/swconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mgr/swconfig.cpp')
-rw-r--r--src/mgr/swconfig.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mgr/swconfig.cpp b/src/mgr/swconfig.cpp
index 309f686..748071c 100644
--- a/src/mgr/swconfig.cpp
+++ b/src/mgr/swconfig.cpp
@@ -1,10 +1,11 @@
/******************************************************************************
- * swconfig.cpp - implementation of Class SWConfig used for saving and
- * retrieval of configuration information
*
- * $Id: swconfig.cpp 2218 2008-12-23 09:33:38Z scribe $
+ * swconfig.cpp - used for saving and retrieval of configuration
+ * information
*
- * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
+ * $Id: swconfig.cpp 2980 2013-09-14 21:51:47Z scribe $
+ *
+ * Copyright 1998-2013 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
* P. O. Box 2528
* Tempe, AZ 85280-2528
@@ -28,9 +29,11 @@
SWORD_NAMESPACE_START
+
SWConfig::SWConfig() {
}
+
SWConfig::SWConfig(const char * ifilename) {
filename = ifilename;
Load();
@@ -40,6 +43,7 @@ SWConfig::SWConfig(const char * ifilename) {
SWConfig::~SWConfig() {
}
+
void SWConfig::Load() {
if (!filename.size()) return; // assert we have a filename
@@ -164,4 +168,6 @@ ConfigEntMap & SWConfig::operator [] (const char *section) {
return Sections[section];
}
+
SWORD_NAMESPACE_END
+