]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCases.h
Allows editing when the Prefs dialog is opened; fix bug 3140:
[lyx.git] / src / mathed / InsetMathCases.h
index a34976358471c7045f0a14c4ae607e883ec4ecea..9f06cbdde82ba8197ccc4de6bea9cb727584476f 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathGrid.h"
 
 
+namespace lyx {
+
+
 class LaTeXFeatures;
 
 class InsetMathCases : public InsetMathGrid {
@@ -22,7 +25,7 @@ public:
        ///
        explicit InsetMathCases(row_type rows = 1u);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -32,7 +35,7 @@ public:
                FuncStatus & flag) const;
 
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void normalize(NormalStream &) const;
        ///
@@ -45,4 +48,7 @@ private:
        virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif