]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.h
further code uglification to make Jean-Marc's compiler happy
[lyx.git] / src / mathed / math_macro.h
index 777b4f508c73455af40b622c6860894b04233550..ed8067bde531c8f3c76905e04cd71a29f1024fcb 100644 (file)
@@ -51,33 +51,33 @@ public:
        ///
        void writeNormal(std::ostream &) const;
        ///
-       void dump(std::ostream & os) const;
+       void dump() const;
 
        ///
-       bool idxUp(int &, int &) const;
+       bool idxUp(unsigned int &, unsigned int &) const;
        ///
-       bool idxDown(int &, int &) const;
+       bool idxDown(unsigned int &, unsigned int &) const;
        ///
-       bool idxLeft(int &, int &) const;
+       bool idxLeft(unsigned int &, unsigned int &) const;
        ///
-       bool idxRight(int &, int &) const;
+       bool idxRight(unsigned int &, unsigned int &) const;
 
        ///
        void validate(LaTeXFeatures &) const;
+       ///
+       bool isMacro() const { return true; }
 
 private:
+       ///
+       void operator=(MathMacro const &);
+       ///
+       char const * name() const;
+
        ///
        MathMacroTemplate const * const tmplate_;
        ///
        mutable MathXArray expanded_;
-       ///
-       void operator=(MathMacro const &);
 };
 
 
-inline std::ostream & operator<<(std::ostream & os, MathMacro const & m)
-{
-       m.dump(os);
-       return os;
-}
 #endif