Searched refs:SWLocale (Results 1 – 10 of 10) sorted by relevance
40 const char *SWLocale::DEFAULT_LOCALE_NAME="en";44 class SWLocale::Private {51 SWLocale::SWLocale(const char *ifilename) { in SWLocale() function in SWLocale86 SWLocale::~SWLocale() { in ~SWLocale()106 const char *SWLocale::translate(const char *text) { in translate()145 const char *SWLocale::getName() { in getName()150 const char *SWLocale::getDescription() { in getDescription()155 const char *SWLocale::getEncoding() { in getEncoding()160 void SWLocale::augment(SWLocale &addFrom) { in augment()165 const struct abbrev *SWLocale::getBookAbbrevs(int *retSize) { in getBookAbbrevs()
67 SWLocale *locale = new SWLocale(0); in setSystemLocaleMgr()137 stdstr(&defaultLocaleName, SWLocale::DEFAULT_LOCALE_NAME); in LocaleMgr()173 SWLocale *locale = new SWLocale(newmodfile.c_str()); in loadConfigDir()215 SWLocale *LocaleMgr::getLocale(const char *name) { in getLocale()223 return (*locales)[SWLocale::DEFAULT_LOCALE_NAME]; in getLocale()240 SWLocale *target; in translate()
40 class SWDLLEXPORT SWLocale {57 SWLocale(const char *ifilename);58 virtual ~SWLocale();71 virtual void augment(SWLocale &addFrom);72 virtual SWLocale & operator +=(SWLocale &addFrom) { augment(addFrom); return *this; }
35 class SWLocale; variable38 typedef std::map < SWBuf, SWLocale *, std::less < SWBuf > > LocaleMap;77 virtual SWLocale *getLocale(const char *name);
72 class SWLocale; variable83 SWLocale *locale;95 mutable SWLocale *locale;111 SWLocale *getPrivateLocale() const;
5 %ignore sword::SWLocale::operator+=;6 %ignore sword::SWLocale::getBookAbbrevs(int *);10 %extend sword::SWLocale {
112 SWLocale *SWKey::getPrivateLocale() const { in getPrivateLocale()
64 <Compile Include="SWLocale.cs" />
1334 Added SWLocale and LocaleMgr classes to support localization