]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCases.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathCases.h
index 9f06cbdde82ba8197ccc4de6bea9cb727584476f..a2a39fc6e62414cd09eefaea50d5ebe4f885e26b 100644 (file)
@@ -25,13 +25,15 @@ public:
        ///
        explicit InsetMathCases(row_type rows = 1u);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       ///
+       Dimension const dimension(BufferView const &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+       virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
-       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
 
        ///
@@ -45,7 +47,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };