X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLanguage.h;h=8cde3686c8fb1c342dfb3a85050877599496c5ab;hb=b8ca0e7fd361a280ac9cde57d0cb244b8ecfc116;hp=14700710b75b101548de3d01121a49cfab84098a;hpb=3efb1572a24043c07a8e54689bd58c5fa7db97e1;p=lyx.git diff --git a/src/Language.h b/src/Language.h index 14700710b7..8cde3686c8 100644 --- a/src/Language.h +++ b/src/Language.h @@ -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_; };