BibleTime
src
backend
managers
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
}
BtLocaleMgr
Definition:
btlocalemgr.h:26
BtLocaleMgr::defaultLocaleName
QString defaultLocaleName()
Definition:
btlocalemgr.cpp:57
BtLocaleMgr::localeTranslator
sword::SWLocale * localeTranslator()
Definition:
btlocalemgr.cpp:54
BtLocaleMgr::internalSwordLocales
std::map< sword::SWBuf, sword::SWLocale * > const & internalSwordLocales()
Definition:
btlocalemgr.cpp:48
BtLocaleMgr::setDefaultLocaleName
void setDefaultLocaleName(QString const &localeName)
Definition:
btlocalemgr.cpp:60
sword
Definition:
btinstallbackend.h:21
Generated by
1.9.1