]> 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 48524f30a26070ba29bc164fddcea52848df84f1..9de20f3c8a3458a1edb3ea394b07878780295795 100644 (file)
@@ -66,15 +66,20 @@ public:
        /// Print requirements to lyxerr
        void showStruct() const;
        ///
-       void addExternalPreamble(std::string const &);
+       void addPreambleSnippet(std::string const &);
        /// Provide a string name-space to the requirements
        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);
        ///