lyx_mirror/src/frontends/controllers/frnt_lang.h

36 lines
743 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file frnt_lang.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*/
#ifndef FRNT_LANG_H
#define FRNT_LANG_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include <utility>
#include <vector>
/** Ease the use of internationalised language strings in the dialogs.
*/
namespace frnt {
///
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);
} // namespace frnt
#endif // FRNT_LANG_H