]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_splitinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_splitinset.h
index 540efaf2a8833aae0b55fbb035d5940ea21f8cfb..49faf48f4e4974844857e6eb38fa956db99ea44d 100644 (file)
@@ -1,21 +1,24 @@
 // -*- C++ -*-
+/**
+ * \file math_splitinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_SPLITINSET_H
 #define MATH_SPLITINSET_H
 
 #include "math_gridinset.h"
-#include "LString.h"
-
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 
 class MathSplitInset : public MathGridInset {
-public: 
-       ///
-       explicit MathSplitInset(string const & name);
+public:
        ///
-       MathInset * clone() const;
+       explicit MathSplitInset(std::string const & name);
        ///
        void write(WriteStream & os) const;
        ///
@@ -23,8 +26,9 @@ public:
        ///
        char defaultColAlign(col_type);
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
-       string name_;
+       std::string name_;
 };
 
 #endif