]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSplit.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathSplit.h
index 327b3010d6135bd613fb9b0760945b3a8b3a96aa..4f92d59ae7dfcea3bb8b746bc0a12b174031abf0 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 #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