diff options
Diffstat (limited to 'include/localemgr.h')
-rw-r--r-- | include/localemgr.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/localemgr.h b/include/localemgr.h index 2e57c03..892a3ed 100644 --- a/include/localemgr.h +++ b/include/localemgr.h @@ -2,7 +2,7 @@ * localemgr.h - definition of class LocaleMgr used to interact with * registered locales for a sword installation * - * $Id: localemgr.h,v 1.10 2002/09/30 10:34:43 dglassey Exp $ + * $Id: localemgr.h,v 1.12 2002/10/01 22:04:58 dglassey Exp $ * * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society @@ -31,8 +31,9 @@ #include <defs.h> +SWORD_NAMESPACE_START -typedef map < string, SWLocale *, less < string > >LocaleMap; +typedef std::map < std::string, SWLocale *, std::less < std::string > >LocaleMap; /** * The LocaleMgr class handles all the different locales of Sword. @@ -76,7 +77,7 @@ public: * * @ret Returns a list of strings, which contains the names of the available locales. */ - virtual list < string > getAvailableLocales (); + virtual std::list < std::string > getAvailableLocales (); /** Returns translated text. * This function uses both parameters to return the translated version of the given text. @@ -110,4 +111,6 @@ public: virtual void loadConfigDir(const char *ipath); }; + +SWORD_NAMESPACE_END #endif |