]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSplit.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathSplit.h
index 327b3010d6135bd613fb9b0760945b3a8b3a96aa..93672606eb750f7f79c72793b92145eb8fea3e27 100644 (file)
 #include "InsetMathGrid.h"
 
 
+namespace lyx {
+
+
 class InsetMathSplit : public InsetMathGrid {
 public:
        ///
-       explicit InsetMathSplit(std::string const & name, char valign = 'c');
-
+       explicit InsetMathSplit(docstring const & name, char valign = 'c');
        ///
        void draw(PainterInfo & pi, int x, int y) const;
-
        ///
-       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
 
        void write(WriteStream & os) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
@@ -37,9 +38,12 @@ public:
        ///
        char defaultColAlign(col_type);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
-       std::string name_;
+       virtual Inset * clone() const;
+       ///
+       docstring name_;
 };
 
+
+} // namespace lyx
 #endif