]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_undersetinset.h
move around stuff, remove unneeded declarations etc
[lyx.git] / src / mathed / math_undersetinset.h
index 95b68921a2fa9df413b7871ce6aea26ef86c5d20..002ff0d7bd7465d061bfd73bc8e4cc0fc03366c5 100644 (file)
@@ -1,9 +1,12 @@
 // -*- C++ -*-
-
-/** Underset objects
- *  \author André Pönitz
+/**
+ * \file math_undersetinset.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
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef MATH_UNDERSETINSET_H
 class MathUndersetInset : public MathFracbaseInset {
 public:
        ///
-       MathUndersetInset();
+       std::auto_ptr<InsetBase> clone() const;
        ///
-       MathInset * clone() const;
-       ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
-
        ///
-       void write(WriteStream & os) const;
+       bool idxFirst(LCursor & cur) const;
+       ///
+       bool idxLast(LCursor & cur) const;
+       ///
+       bool idxUpDown(LCursor & cur, bool up) const;
+       ///
+       void write(WriteStream & ws) const;
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream & ns) const;
 };
 
 #endif