]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.h
Georg Baum's vspace change
[lyx.git] / src / mathed / math_nestinset.h
index 401e3091e8104b5df127f6d7c9a995a2549b478b..2c4a6f14c792d52f17d65d5d607510222f142cf2 100644 (file)
@@ -1,14 +1,27 @@
+// -*- C++ -*-
+/**
+ * \file math_nestinset.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_NESTINSET_H
 #define MATH_NESTINSET_H
 
 #include "math_diminset.h"
 
+class MathArray;
+
+
 /** Abstract base class for all math objects that contain nested items.
     This is basically everything that is not a single character or a
     single symbol.
 */
 
-
 class MathNestInset : public MathDimInset {
 public:
        /// nestinsets have a fixed size to start with
@@ -88,12 +101,12 @@ public:
        void write(WriteStream & os) const;
        /// writes [, name(), and args in []
        void normalize(NormalStream & os) const;
-
-       /// local dispatcher
-       dispatch_result
-               dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
-
 protected:
+       ///
+       virtual
+       DispatchResult
+       priv_dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
+
        /// we store the cells in a vector
        typedef std::vector<MathArray> cells_type;
        /// thusly:
@@ -110,7 +123,6 @@ protected:
        void metricsMarkers(int frame = 1) const;
        /// add space for markers
        void metricsMarkers2(int frame = 1) const;
-
 };
 
 #endif