BibleTime
btlocalemgr.h
Go to the documentation of this file.
1 /*********
2 *
3 * In the name of the Father, and of the Son, and of the Holy Spirit.
4 *
5 * This file is part of BibleTime's source code, https://bibletime.info/
6 *
7 * Copyright 1999-2021 by the BibleTime developers.
8 * The BibleTime source code is licensed under the GNU General Public License
9 * version 2.0.
10 *
11 **********/
12 
13 #pragma once
14 
15 #include <map>
16 #include <QString>
17 
18 
19 namespace sword {
20 class SWBuf;
21 class SWLocale;
22 } // namespace sword
23 
24 
25 /** An interface replacement for sword::LocaleMgr. */
26 namespace BtLocaleMgr {
27 
28 std::map<sword::SWBuf, sword::SWLocale *> const & internalSwordLocales();
29 sword::SWLocale * localeTranslator();
30 QString defaultLocaleName();
31 void setDefaultLocaleName(QString const & localeName);
32 
33 }
QString defaultLocaleName()
Definition: btlocalemgr.cpp:57
sword::SWLocale * localeTranslator()
Definition: btlocalemgr.cpp:54
std::map< sword::SWBuf, sword::SWLocale * > const & internalSwordLocales()
Definition: btlocalemgr.cpp:48
void setDefaultLocaleName(QString const &localeName)
Definition: btlocalemgr.cpp:60