]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetLayout.h
index 4706a6d42f4612e046f2dc42511edcd77cf42f08..3107338e0d3faca9dff281b124d92f19c38550a3 100644 (file)
@@ -24,6 +24,7 @@
 namespace lyx {
 
 class Lexer;
+class TextClass;
 
 ///
 class InsetLayout {
@@ -38,7 +39,7 @@ public:
                Default
        };
        ///
-       bool read(Lexer & lexrc);
+       bool read(Lexer & lexrc, TextClass & tclass);
        ///
        docstring name() const { return name_; };
        ///
@@ -78,7 +79,11 @@ public:
 private:
        ///
        docstring name_;
-       ///
+       /**
+               * This is only used (at present) to decide where to put them on the menus.
+               * Values are 'charstyle', 'custom' (things that by default look like a
+               * footnote), 'element' (docbook), 'standard'.
+               */
        std::string lyxtype_;
        ///
        docstring labelstring_;