]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_atom.h
further code uglification to make Jean-Marc's compiler happy
[lyx.git] / src / mathed / math_atom.h
index c5b7e7af0c32e8398ebfb6793c7d9078762382ca..c5ef2c5b860e8ff53c3c3a51f91ade945d4a9eee 100644 (file)
@@ -38,6 +38,8 @@ public:
        MathAtom(MathAtom const &);
        ///
        explicit MathAtom(MathInset * p);
+       ///
+       MathAtom(MathInset * p, MathScriptInset * up, MathScriptInset * down);
        /// 
        virtual ~MathAtom(); 
        ///
@@ -98,10 +100,14 @@ public:
        MathScriptInset * up() const;
        /// returns subscript
        MathScriptInset * down() const;
+       /// returns superscript
+       MathScriptInset * & up();
+       /// returns subscript
+       MathScriptInset * & down();
        ///
        MathInset * nucleus() const { return nucleus_; }
        ///
-       void substitute(MathArray &, const MathMacro &) const;
+       void substitute(const MathMacro &);
        ///
        void write(std::ostream &, bool) const;
        ///