]> git.lyx.org Git - lyx.git/blobdiff - src/Language.h
- lyxsweave.R: set missing SVN EOL style and add missing makefile entry
[lyx.git] / src / Language.h
index 14700710b75b101548de3d01121a49cfab84098a..8cde3686c8fb1c342dfb3a85050877599496c5ab 100644 (file)
@@ -45,6 +45,12 @@ public:
        std::string const & encodingStr() const { return encodingStr_; }
        ///
        std::string const & code() const { return code_; }
+       /// set code (needed for rc.spellchecker_alt_lang)
+       void setCode(std::string const c) { code_ = c; }
+       ///
+       std::string const & variety() const { return variety_; }
+       /// set variety (needed for rc.spellchecker_alt_lang)
+       void setVariety(std::string const v) { variety_ = v; }
        ///
        std::string const & latex_options() const { return latex_options_; }
        ///
@@ -67,8 +73,12 @@ private:
        ///
        Encoding const * encoding_;
        ///
+       std::string codeStr_;
+       ///
        std::string code_;
        ///
+       std::string variety_;
+       ///
        std::string latex_options_;
 };