]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/frnt_lang.h
5 new lfuns, move all apply code out of ControlDocument and into the core.
[lyx.git] / src / frontends / controllers / frnt_lang.h
1 // -*- C++ -*-
2 /**
3  * \file frnt_lang.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS.
10  *
11  * Ease the use of internationalised language strings in the dialogs.
12  */
13
14 #ifndef FRNT_LANG_H
15 #define FRNT_LANG_H
16
17 #include <string>
18 #include <utility>
19 #include <vector>
20
21 namespace frnt {
22
23 ///
24 typedef std::pair<std::string, std::string> LanguagePair;
25
26 /** If the caller is the character dialog, add "No change" and "Reset"
27  *  to the vector.
28  */
29 std::vector<LanguagePair> const getLanguageData(bool character_dlg);
30
31 } // namespace frnt
32
33 #endif // FRNT_LANG_H