]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.h
more IU
[lyx.git] / src / mathed / math_nestinset.h
index 4db158a2bac34fa5b6a69d628bfbd279fc9322a3..5ec7b9234d546864bfe70b8fcf1f84a532448a1b 100644 (file)
@@ -14,8 +14,6 @@
 
 #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
@@ -83,8 +81,6 @@ public:
        /// request "external features"
        void validate(LaTeXFeatures & features) const;
 
-       /// match in all cells
-       bool match(MathAtom const &) const;
        /// replace in all cells
        void replace(ReplaceData &);
        /// do we contain a given pattern?
@@ -101,12 +97,12 @@ public:
        void write(WriteStream & os) const;
        /// writes [, name(), and args in []
        void normalize(NormalStream & os) const;
-
-       /// local dispatcher
-       dispatch_result priv_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:
@@ -123,7 +119,6 @@ protected:
        void metricsMarkers(int frame = 1) const;
        /// add space for markers
        void metricsMarkers2(int frame = 1) const;
-
 };
 
 #endif