2002-04-29 15:56:36 +00:00
|
|
|
// -*- C++ -*-
|
2002-09-05 14:10:50 +00:00
|
|
|
/**
|
2002-04-29 15:56:36 +00:00
|
|
|
* \file frnt_lang.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-04-29 15:56:36 +00:00
|
|
|
*
|
2002-10-21 17:38:09 +00:00
|
|
|
* \author Angus Leeming
|
2002-09-05 14:10:50 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-04-29 15:56:36 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FRNT_LANG_H
|
|
|
|
#define FRNT_LANG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "LString.h"
|
|
|
|
#include <utility>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
/** Ease the use of internationalised language strings in the dialogs.
|
|
|
|
*/
|
|
|
|
namespace frnt {
|
2002-10-21 17:38:09 +00:00
|
|
|
|
|
|
|
///
|
|
|
|
typedef std::pair<string, string> LanguagePair;
|
|
|
|
|
|
|
|
/** If the caller is the character dialog, add "No change" and "Reset"
|
|
|
|
* to the vector.
|
|
|
|
*/
|
|
|
|
std::vector<LanguagePair> const getLanguageData(bool character_dlg);
|
2002-04-29 15:56:36 +00:00
|
|
|
|
|
|
|
} // namespace frnt
|
|
|
|
|
|
|
|
#endif // FRNT_LANG_H
|