mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
82fa210ea8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@694 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
584 B
C++
36 lines
584 B
C++
// -*- C++ -*-
|
|
#ifndef LANGUAGE_H
|
|
#define LANGUAGE_H
|
|
|
|
#include <map>
|
|
#include "LString.h"
|
|
|
|
struct Language {
|
|
string lang;
|
|
string display;
|
|
bool RightToLeft;
|
|
};
|
|
|
|
#if 0
|
|
bool operator==(Language const & l1, Language const & l2)
|
|
{
|
|
return l1.lang == l2.lang
|
|
&& l1.display == l2.display
|
|
&& l1.RightToLeft == l2.RightToLeft;
|
|
}
|
|
|
|
|
|
bool operator!=(Language const l1, Language const & l2)
|
|
{
|
|
return !(l1 == l2);
|
|
|
|
}
|
|
#endif
|
|
|
|
typedef std::map<string, Language> Languages;
|
|
extern Languages languages;
|
|
extern Language const * default_language;
|
|
extern Language const *ignore_language;
|
|
|
|
#endif
|