]> git.lyx.org Git - features.git/blobdiff - src/insets/Inset.h
Further cleanup of collapsable insets. The layouts are now properly read and applied.
[features.git] / src / insets / Inset.h
index aae34f86954639f6d16b09f38cfe2162f5696897..c38e44e67ddb88d39a532d8b3324cdde18652bc1 100644 (file)
@@ -35,6 +35,7 @@ class Dimension;
 class FuncRequest;
 class FuncStatus;
 class InsetIterator;
+class InsetCollapsable;
 class InsetLayout;
 class InsetList;
 class InsetMath;
@@ -88,6 +89,10 @@ public:
        virtual InsetText * asTextInset() { return 0; }
        /// is this inset based on the TextInset class?
        virtual InsetText const * asTextInset() const { return 0; }
+       /// is this inset based on the InsetCollapsable class?
+       virtual InsetCollapsable * asInsetCollapsable() { return 0; }
+       /// is this inset based on the InsetCollapsable class?
+       virtual InsetCollapsable const * asInsetCollapsable() const { return 0; }
        
        /// the real dispatcher
        void dispatch(Cursor & cur, FuncRequest & cmd);