]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_biginset.h
macro rework
[lyx.git] / src / mathed / math_biginset.h
index a82cd31e0cb2cef06fdb073ba3f144d8bcdaf9a7..df6899e234ff7fb78bf20c30a96b88a6055a2ab3 100644 (file)
@@ -1,43 +1,47 @@
 // -*- C++ -*-
+/**
+ * \file math_biginset.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_BIGINSET_H
 #define MATH_BIGINSET_H
 
 #include "math_diminset.h"
-#include "LString.h"
-
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-/** Inset for \bigl & Co.
-    \author André Pönitz
- */
+#include <string>
 
+/// Inset for \bigl & Co.
 class MathBigInset : public MathDimInset {
 public:
        ///
-       MathBigInset(string const & name, string const & delim);
+       MathBigInset(std::string const & name, std::string const & delim);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void write(WriteStream & os) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void write(WriteStream & os) const;
        ///
        void normalize(NormalStream & os) const;
 
 private:
        ///
-       int size() const;
+       size_type size() const;
        ///
        double increase() const;
-       
+
        /// \bigl or what?
-       string const name_;
+       std::string const name_;
        /// ( or [ or Vert...
-       string const delim_;
+       std::string const delim_;
 };
 
 #endif