]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFBox.h
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetMathFBox.h
index de0dcb955983f9cd7e18bf2607e5d7bef57a2a12..e7273b9608918fd09b155d5709f8eb87b315fba8 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// Non-AMS-style frame
 class InsetMathFBox : public InsetMathNest {
 public:
@@ -23,7 +26,7 @@ public:
        ///
        mode_type currentMode() const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -31,9 +34,12 @@ public:
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
+
+
+} // namespace lyx
 #endif