]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnv.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathEnv.h
index 23c9f8370690c3408ddfac4c7e043e5325deec0a..38e6aeb203716698ce5cc14fe2f35dac17aca180 100644 (file)
 #include <string>
 
 
+namespace lyx {
+
+
 /// Environtments รก la \begin{something}...\end{something}
 class InsetMathEnv : public InsetMathNest {
 public:
        ///
-       InsetMathEnv(std::string const & name_);
+       InsetMathEnv(docstring const & name_);
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -31,12 +34,15 @@ public:
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        /// name of that environment
-       std::string name_;
+       docstring name_;
 };
 
+
+} // namespace lyx
+
 #endif