lyx_mirror/src/language.h
Lars Gullik Bjønnes 82fa210ea8 several changes and fixes. Read the ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@694 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-26 13:57:28 +00:00

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