]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotemplate.h
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_macrotemplate.h
index 628a9bee68bfeb7bf5e879280262625d9703b837..bab64d1500d92590de82ab93ad511a3c85ad8b5e 100644 (file)
@@ -25,7 +25,7 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(WriteStream & os) const;
        /// Number of arguments
        int numargs() const;
        ///
@@ -35,7 +35,9 @@ public:
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
+       /// identifies macro templates
+       MathMacroTemplate * asMacroTemplate() { return this; }
 private:
        ///
        int numargs_;