]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_matrixinset.h
some (yet unfinished) up/down work
[lyx.git] / src / mathed / math_matrixinset.h
index 47a0b714e41317b39b7d3620ddacf58eb089d057..43b58cba337379100cc16252e1d69b8fbb0246e9 100644 (file)
@@ -1,25 +1,28 @@
 // -*- C++ -*-
+/**
+ * \file math_matrixinset.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_MATRIXINSET_H
 #define MATH_MATRIXINSET_H
 
 #include "math_gridinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 // "shortcut" for DelimInset("(",ArrayInset,")")
 
 class MathMatrixInset : public MathGridInset {
 public:
        ///
-       MathMatrixInset(MathGridInset const &);
-       ///
-       MathMatrixInset(string const & str);
-       ///
-       MathInset * clone() const;
+       explicit MathMatrixInset(MathGridInset const &);
        ///
-       void metrics(MathMetricsInfo &) const {}
+       explicit MathMatrixInset(std::string const & str);
        /// identifies MatrixInsets
        MathMatrixInset const * asMatrixInset() const { return this; }
 
@@ -28,13 +31,15 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
        ///
-       void maximize(MaximaStream &) const;
+       void maxima(MaximaStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif