]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulamacro.h
more IU
[lyx.git] / src / mathed / formulamacro.h
index 0db2759a0c7b8682d637202d3ad90dab310388c9..b13d26713e5a0b6958f2f1f7ee5aed2a6d0642ce 100644 (file)
@@ -27,27 +27,30 @@ public:
        ///
        InsetFormulaMacro();
        /// construct a macro hull from its name and the number of arguments
-       explicit InsetFormulaMacro(string const & name, int nargs, string const & t);
+       explicit InsetFormulaMacro(std::string const & name, int nargs, std::string const & t);
        /// constructs a mocro from its LaTeX definition
-       explicit InsetFormulaMacro(string const & s);
+       explicit InsetFormulaMacro(std::string const & s);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
 
        ///
-       void read(Buffer const *, LyXLex & lex);
+       void read(Buffer const &, LyXLex & lex);
        ///
-       void write(Buffer const *, std::ostream & os) const;
+       void write(Buffer const &, std::ostream & os) const;
        ///
-       int ascii(Buffer const *, std::ostream &, int linelen) const;
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
-       int latex(Buffer const *, std::ostream & os,
-                 LatexRunParams const &) const;
+       int latex(Buffer const &, std::ostream & os,
+                 OutputParams const &) const;
        ///
-       int linuxdoc(Buffer const *, std::ostream & os) const;
+       int linuxdoc(Buffer const &, std::ostream & os,
+                    OutputParams const &) const;
        ///
-       int docbook(Buffer const *, std::ostream &, bool mixcont) const;
+       int docbook(Buffer const &, std::ostream &,
+                   OutputParams const &) const;
 
        ///
        virtual std::auto_ptr<InsetBase> clone() const;
@@ -61,7 +64,7 @@ private:
        ///
        void read(std::istream & is);
        /// prefix in inset
-       string prefix() const;
+       std::string prefix() const;
 };
 
 #endif