]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPar.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathPar.h
index 4fc791d7e746c7da02fb99d33c469919793aef65..1fe9e0c4007611c918b69cfe1fd588632cdea3ae 100644 (file)
 
 #include "InsetMathHull.h"
 
+
+namespace lyx {
+
 class InsetMathPar : public InsetMathHull {
 public:
        ///
        InsetMathPar() {}
        ///
-       InsetMathPar(MathArray const & ar);
+       InsetMathPar(MathData const & ar);
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
@@ -28,12 +31,15 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void write(WriteStream & os) const;
 private:
        ///
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
+
+
+} // namespace lyx
 #endif