]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/frnt_lang.h
c3d949afb24ddcc713e646166b71d4b93db97345
[lyx.git] / src / frontends / controllers / frnt_lang.h
1 // -*- C++ -*-
2 /*
3  * \file frnt_lang.h
4  * Copyright 2002 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Angus Leeming, a.leeming@ic.ac.uk
8  */
9
10 #ifndef FRNT_LANG_H
11 #define FRNT_LANG_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "LString.h"
18 #include <utility>
19 #include <vector>
20
21 /** Ease the use of internationalised language strings in the dialogs.
22  */
23 namespace frnt {
24         ///
25         typedef std::pair<string, string> LanguagePair;
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