]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
This is the first of a series of commits that will make InsetLayout a real class.
[lyx.git] / src / TextClass.h
index 4b9c1d3cea5e63bbff291e5c2445b8d7741f81ef..818ce6a56dfb4ec69c40058f6b99980e32fadeb3 100644 (file)
@@ -182,6 +182,8 @@ public:
        int max_toclevel() const;
        /// returns true if the class has a ToC structure
        bool hasTocLevels() const;
+       ///
+       static InsetLayout const & emptyInsetLayout() { return empty_insetlayout_; }
 private:
        ///
        bool deleteLayout(docstring const &);
@@ -265,6 +267,8 @@ private:
        int min_toclevel_;
        /// The maximal TocLevel of sectioning layouts
        int max_toclevel_;
+       ///
+       static InsetLayout empty_insetlayout_;
 };