]> git.lyx.org Git - lyx.git/blobdiff - src/Language.h
Amend 6c3447c8: FindAdv: sometimes a space is added on some math symbols
[lyx.git] / src / Language.h
index 687682821adc147b32612ddcc828562e1122b947..d8ef03a125fa325fcb2737d22367ddf35276283f 100644 (file)
@@ -15,8 +15,6 @@
 #ifndef LANGUAGE_H
 #define LANGUAGE_H
 
-#include "BufferParams.h"
-
 #include "support/docstring.h"
 #include "support/trivstring.h"
 
 
 namespace lyx {
 
-namespace support { class FileName; }
+namespace support {
+class FileName;
+class Lexer;
+}
 
+class BufferParams;
 class Encoding;
-class Lexer;
 
 ///
 class Language {
@@ -46,6 +47,8 @@ public:
        std::string const polyglossia() const { return polyglossia_name_; }
        /// polyglossia language options
        std::string const polyglossiaOpts() const { return polyglossia_opts_; }
+       /// polyglossia language options
+       std::string const xindy() const { return xindy_; }
        /// Is this language only supported by polyglossia?
        bool isPolyglossiaExclusive() const;
        /// Is this language only supported by babel?
@@ -55,7 +58,7 @@ public:
        /// active characters
        std::string const activeChars() const { return active_chars_; }
        /// requirement (package, function)
-       std::string const requires() const { return requires_; }
+       std::string const required() const { return required_; }
        /// provides feature
        std::string const provides() const { return provides_; }
        /// translatable GUI name
@@ -98,9 +101,9 @@ public:
        /// This language corresponds to a translation of the GUI
        bool hasGuiSupport() const { return has_gui_support_; }
        ///
-       bool read(Lexer & lex);
+       bool read(support::Lexer & lex);
        ///
-       bool readLanguage(Lexer & lex);
+       bool readLanguage(support::Lexer & lex);
        ///
        typedef std::map<trivstring, trivdocstring> TranslationMap;
        ///
@@ -117,11 +120,13 @@ private:
        ///
        trivstring polyglossia_opts_;
        ///
+       trivstring xindy_;
+       ///
        trivstring quote_style_;
        ///
        trivstring active_chars_;
        ///
-       trivstring requires_;
+       trivstring required_;
        ///
        trivstring provides_;
        ///