X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flanguage.h;h=e9bf9de31e047459dd7dd78baf31b68bbfdfed38;hb=068e2cfb25bfbab62f80bc0c776ca169032c2219;hp=81242853821ca33ffe1fbb7ae9bd08862cab40e6;hpb=bd659b25fb6e2df5d02273ee1ce4699aa5723e2e;p=lyx.git diff --git a/src/language.h b/src/language.h index 8124285382..e9bf9de31e 100644 --- a/src/language.h +++ b/src/language.h @@ -28,9 +28,10 @@ public: Language() : RightToLeft_(false) {} /// Language(string const & l, string const & b, string const & d, - bool rtl, Encoding const * e, string const & c) + bool rtl, Encoding const * e, string const & c, + string const & o) : lang_(l), babel_(b), display_(d), RightToLeft_(rtl), - encoding_(e), code_(c) + encoding_(e), code_(c), latex_options_(o) {} /// string const & lang() const { @@ -56,6 +57,10 @@ public: string const & code() const { return code_; } + /// + string const & latex_options() const { + return latex_options_; + } private: /// string lang_; @@ -69,6 +74,8 @@ private: Encoding const * encoding_; /// string code_; + /// + string latex_options_; }; class Languages @@ -101,6 +108,7 @@ private: extern Languages languages; extern Language const * default_language; +extern Language const * english_language; extern Language const *ignore_language; #endif