On Monday 03 November 2003 13:02, Andre Poenitz wrote:
> On Fri, Oct 31, 2003 at 04:21:55PM +0000, Jose' Matos wrote:
> > The attached patch unifies the API used for the different backends in
> > insets.
> >
> > In inset.h we have:
> >
> > int latex(Buffer const &, std::ostream &,LatexRunParams const &);
> > int ascii(Buffer const &, std::ostream &,LatexRunParams const &);
> > int linuxdoc(Buffer const &, std::ostream &,LatexRunParams const &);
> > int docbook(Buffer const &, std::ostream &,LatexRunParams const &);
> >
> >   that is, we use the LatexRunParams to carry the different running
> > parameters.
>
> [Why not move the Buffer ref to LatexRunParams as well?]

   If you have included files the buffer ref will change, but actually the 
ostream is the same all over the same run.

   We can put those two variables over there, and have a single argument, but 
I don't think that gain us anything.

> The approach is fine with me. And as this is more or less the same
> scheme as used in src/m* this would be a major step forward on inset
> unification.

  Good. :-)

> Andre'

-- 
Jos� Ab�lio

Reply via email to