]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXPackages.h
Amend 6c3447c8: FindAdv: sometimes a space is added on some math symbols
[lyx.git] / src / LaTeXPackages.h
index ff67e0a460504caf59bc9da09f44100c04480b7b..12f3e4ec0b8d4a830621e01a75b34a9a09c3dbe7 100644 (file)
@@ -25,12 +25,16 @@ namespace lyx {
 class LaTeXPackages {
 public:
        /// Which of the required packages are installed?
-       static void getAvailable();
+       static void getAvailable(bool retry = false);
        /// Is the (required) package available?
        static bool isAvailable(std::string const & name);
+       /// Is the (required) package available at least as of
+       /// version y/m/d?
+       static bool isAvailableAtLeastFrom(std::string const & name,
+                                          int const y, int const m, int const d = 1);
 private:
        /// The available (required) packages
-       typedef std::set<std::string> Packages;
+       typedef std::set<std::pair<std::string,std::string>> Packages;
        ///
        static Packages packages_;
 };