]> git.lyx.org Git - lyx.git/blobdiff - src/Language.h
Fix bug #12772
[lyx.git] / src / Language.h
index 687682821adc147b32612ddcc828562e1122b947..ad8badffbc363ac05aaddd0eaf29b05b19da51d2 100644 (file)
@@ -15,8 +15,6 @@
 #ifndef LANGUAGE_H
 #define LANGUAGE_H
 
-#include "BufferParams.h"
-
 #include "support/docstring.h"
 #include "support/trivstring.h"
 
@@ -29,6 +27,7 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+class BufferParams;
 class Encoding;
 class Lexer;
 
@@ -46,6 +45,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 +56,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
@@ -117,11 +118,13 @@ private:
        ///
        trivstring polyglossia_opts_;
        ///
+       trivstring xindy_;
+       ///
        trivstring quote_style_;
        ///
        trivstring active_chars_;
        ///
-       trivstring requires_;
+       trivstring required_;
        ///
        trivstring provides_;
        ///