]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_rootinset.h
index 97e56ea6259a5e975ed59b8310e7a151d4dadaee..e71b4fe23ff28f5b2903dce75e43fa2374841265 100644 (file)
@@ -16,7 +16,6 @@
 #define MATH_ROOT_H
 
 #include "math_nestinset.h"
-#include "symbol_def.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -33,17 +32,22 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int y) const;
+       bool idxUp(idx_type & idx) const;
+       ///
+       bool idxDown(idx_type & idx) const;
+       ///
+       void metrics(MathMetricsInfo const & st) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void draw(Painter &, int x, int y) const;
+
        ///
-       void writeNormal(std::ostream &) const;
+       void write(WriteStream & os) const;
        ///
-       void metrics(MathStyles st) const;
+       void normalize(NormalStream &) const;
        ///
-       bool idxUp(int & idx, int & pos) const;
+       void mathmlize(MathMLStream &) const;
        ///
-       bool idxDown(int & idx, int & pos) const;
+       void octavize(OctaveStream &) const;
 };
 
 #endif