]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetFormulaMacro.h
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetFormulaMacro.h
index b32bd033c6a17bb1aed09ce0bcb40b35983621ee..55b31761594e866b4b215a341bfd0138bbf26cc8 100644 (file)
@@ -19,7 +19,7 @@
 namespace lyx {
 
 class MathMacroTemplate;
-class LyXLex;
+class Lexer;
 
 
 // An InsetFormulaMacro only knows its name and asks the global
@@ -40,23 +40,23 @@ public:
        void draw(PainterInfo & pi, int x, int y) const;
 
        ///
-       void read(Buffer const &, LyXLex & lex);
+       void read(Buffer const &, Lexer & lex);
        ///
        void write(Buffer const &, std::ostream & os) const;
        ///
-       int plaintext(Buffer const &, odocstream &,
-                 OutputParams const &) const;
-       ///
        int latex(Buffer const &, odocstream & os,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
+       ///
+       int plaintext(Buffer const &, odocstream &,
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
 
        ///
-       std::auto_ptr<InsetBase> clone() const;
+       std::auto_ptr<Inset> clone() const;
        ///
-       InsetBase::Code lyxCode() const { return MATHMACRO_CODE; }
+       Inset::Code lyxCode() const { return MATHMACRO_CODE; }
        ///
        docstring const & getInsetName() const { return name_; }
        ///