2002-04-29 15:56:36 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/*
|
|
|
|
* \file frnt_lang.h
|
|
|
|
* Copyright 2002 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author Angus Leeming, a.leeming@ic.ac.uk
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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;
|
2002-04-30 15:07:03 +00:00
|
|
|
/** 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
|