]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSubstack.h
last commit was incomplete... not sure how I managed this..
[lyx.git] / src / mathed / InsetMathSubstack.h
index 6d279a6cee8eaed9d7fef115ad6a363c2ad72aa9..f8226b05c432712d7d5f1dcc2fdd24adaa9084bb 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathGrid.h"
 
 
+namespace lyx {
+
+
 /// support for AMS's \\substack
 
 class InsetMathSubstack : public InsetMathGrid {
@@ -29,10 +32,10 @@ public:
        InsetMathSubstack const * asSubstackInset() const { return this; }
 
        ///
-       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void write(WriteStream & os) const;
        ///
@@ -42,7 +45,10 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
+
+
+} // namespace lyx
 #endif