]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_makeboxinset.h
Compile fix gcc 2.95 + stlport
[lyx.git] / src / mathed / math_makeboxinset.h
index 6b308bb606ca5bab4885dc7e3bf57773a1fe6aa8..b6e8a8d58266e432797f521a5ae3b12193974e2b 100644 (file)
@@ -1,19 +1,20 @@
 // -*- C++ -*-
+/**
+ * \file math_makeboxinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Ling Li
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_MAKEBOXINSET_H
 #define MATH_MAKEBOXINSET_H
 
 #include "math_nestinset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-/** Extra nesting: \\makebox.
- *  \author Ling Li
- *
- *  Full author contact details are available in file CREDITS
- */
-
+/// Extra nesting: \\makebox.
 // consolidate with MathFrameboxInset?
 
 class MathMakeboxInset : public MathNestInset {
@@ -21,7 +22,7 @@ public:
        ///
        MathMakeboxInset();
        ///
-       InsetBase * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -32,6 +33,8 @@ public:
        void normalize(NormalStream & ns) const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
+       ///
+       void infoize(std::ostream & os) const;
 private:
        /// width of '[' in current font
        mutable int w_;