]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBrace.h
Allows editing when the Prefs dialog is opened; fix bug 3140:
[lyx.git] / src / mathed / InsetMathBrace.h
index d5c5205a43f2eabb67a2dd48466156b9f0ab28e8..3d581dc023c23dce476cc557bdf476566e50b132 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// Extra nesting
 class InsetMathBrace : public InsetMathNest {
 public:
@@ -27,7 +30,7 @@ public:
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -41,11 +44,14 @@ public:
        ///
        void octave(OctaveStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 private:
        virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif