X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FPackage.h;h=e5cc32326044e6025ee96d9428c7d860e597cf6c;hb=faa87bf9f30b943397429a04254d96963bbf38bc;hp=d6e76fb56b99aa892a6edb0bfafb37a443a9af4a;hpb=1af61e659ce256a1288b8bab68cfcd213cd97962;p=lyx.git diff --git a/src/support/Package.h b/src/support/Package.h index d6e76fb56b..e5cc323260 100644 --- a/src/support/Package.h +++ b/src/support/Package.h @@ -101,6 +101,12 @@ public: */ FileName const & locale_dir() const { return locale_dir_; } + /** The file name that should contain the message file (.mo) + * for language code \param c. Does not check whether the + * file exists. Handles running in place. + */ + FileName messages_file(std::string const & c) const; + /** The default document directory. * Can be reset by LyXRC. */ @@ -132,7 +138,7 @@ public: * Caution: This is "ready-to-run", i.e. in the locale encoding, not * utf8. */ - std::string const & configure_command() const { return configure_command_; } + std::string const & configure_command() const; private: FileName binary_dir_; @@ -145,8 +151,9 @@ private: mutable FileName document_dir_; mutable FileName temp_dir_; FileName system_temp_dir_; - std::string configure_command_; + mutable std::string configure_command_; bool explicit_user_support_dir_; + bool in_build_dir_; }; } // namespace support