* Licence details can be found in the file COPYING.
*
* \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
namespace lyx {
class MathMacroTemplate;
-class LyXLex;
+class Lexer;
// An InsetFormulaMacro only knows its name and asks the global
void draw(PainterInfo & pi, int x, int y) const;
///
- void read(Buffer const &, LyXLex & lex);
+ void read(Lexer & lex);
///
- void write(Buffer const &, std::ostream & os) const;
+ void write(std::ostream & os) const;
///
- int plaintext(Buffer const &, odocstream &,
- OutputParams const &) const;
+ int latex(odocstream & os, OutputParams const &) const;
///
- int latex(Buffer const &, odocstream & os,
- OutputParams const &) const;
+ int plaintext(odocstream &, OutputParams const &) const;
///
- int docbook(Buffer const &, odocstream &,
- OutputParams const &) const;
+ int docbook(odocstream &, OutputParams const &) const;
///
- std::auto_ptr<InsetBase> clone() const;
- ///
- InsetBase::Code lyxCode() const { return MATHMACRO_CODE; }
+ InsetCode lyxCode() const { return MATHMACRO_CODE; }
///
docstring const & getInsetName() const { return name_; }
///
docstring prefix() const;
///
docstring name_;
+ ///
+ Inset * clone() const;
};