]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Restore the version number position on the splash screen
[lyx.git] / src / LaTeXFeatures.h
index e03457c12dde3b824847732149480af591dc1435..9de20f3c8a3458a1edb3ea394b07878780295795 100644 (file)
@@ -71,10 +71,15 @@ public:
        void require(std::string const & name);
        /// Which of the required packages are installed?
        static void getAvailable();
-       /// Is the package required?
-       bool isRequired(std::string const & name) const;
        /// Is the (required) package available?
-       bool isAvailable(std::string const & name) const;
+       static bool isAvailable(std::string const & name);
+       /// Has the package been required?
+       bool isRequired(std::string const & name) const;
+       /* Is it necessary to load the package? This is true is
+          isRequired is true and the feature is not provided by the
+          textclass.
+       */
+       bool mustProvide(std::string const & name) const;
        ///
        void useFloat(std::string const & name);
        ///