diff options
Diffstat (limited to 'include/swconfig.h')
-rw-r--r-- | include/swconfig.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/swconfig.h b/include/swconfig.h index 80c42b6..b9afcf6 100644 --- a/include/swconfig.h +++ b/include/swconfig.h @@ -2,7 +2,7 @@ * swconfig.h - definition of Class SWConfig used for saving and retrieval * of configuration information * - * $Id: swconfig.h,v 1.18 2002/09/30 10:34:43 dglassey Exp $ + * $Id: swconfig.h,v 1.20 2002/10/01 22:04:58 dglassey Exp $ * * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society @@ -32,22 +32,22 @@ #include <multimapwdef.h> +SWORD_NAMESPACE_START - -typedef multimapwithdefault < string, string, less < string > >ConfigEntMap; -typedef map < string, ConfigEntMap, less < string > >SectionMap; +typedef multimapwithdefault < std::string, std::string, std::less < std::string > >ConfigEntMap; +typedef std::map < std::string, ConfigEntMap, std::less < std::string > >SectionMap; /** The class to read and save settings using a file on disk. * */ class SWDLLEXPORT SWConfig { private: - char getline(FILE * fp, string & line); + char getline(FILE * fp, std::string & line); public: /** The filename used by this SWConfig object * */ - string filename; + std::string filename; /** Map of available sections * The map of available sections. */ @@ -86,5 +86,5 @@ public: */ virtual ConfigEntMap & operator [](const char *section); }; - +SWORD_NAMESPACE_END #endif |