]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
VCS: Handle one boundary condition.
[lyx.git] / src / TextClass.h
index 254ee586fedcf64e9fded392de295a673e61eafd..cc8ed45ad25b6ba90b4868ae36e1f6cd5b388704 100644 (file)
@@ -135,6 +135,8 @@ public:
        bool hasLayout(docstring const & name) const;
        ///
        Layout const & operator[](docstring const & vname) const;
+       /// Inset layouts of this doc class
+       InsetLayouts const & insetLayouts() const { return insetlayoutlist_; };
 
        ///////////////////////////////////////////////////////////////////
        // reading routines
@@ -246,6 +248,8 @@ protected:
        std::set<std::string> provides_;
        /// latex packages requested by document class.
        std::set<std::string> requires_;
+       /// modules wanted by document class
+       std::set<std::string> usemod_;
        ///
        unsigned int columns_;
        ///
@@ -328,8 +332,6 @@ public:
        bool hasLaTeXLayout(std::string const & lay) const;
        /// A DocumentClass nevers count as loaded, since it is dynamic
        virtual bool loaded() { return false; }
-       /// Inset layouts of this doc class
-       InsetLayouts const & insetLayouts() const { return insetlayoutlist_; };
        /// \return the layout object of an inset given by name. If the name
        /// is not found as such, the part after the ':' is stripped off, and
        /// searched again. In this way, an error fallback can be provided: