Allan Rae wrote:
The Liason.C code was originally meant to be in lyxfunc but we
couldn't pass the data (except via XTL or some other elaborate scheme
so I left it in a separate file).  As Angus has said the code there
should be shifted to the appropriate controllers now.
Allen,

I have moved all printbuffer stuff from src/frontends/Liason.[Ch] to
src/controllers/ControlPrint.[Ch]. Here in my big GUI patch, that is.

Liason.[Ch] is almost empty now. I'm left with:

// [--skip head of file here--]
namespace Liason {

void setMinibuffer(LyXView * lv, string const & msg)
{
	lyx::Assert(lv);
	lv->message(msg);
}

} // namespace Liason


This should not go into the controller, right?
I want to get rid of the Liason files and move setMinibuffer()
into another appropriate file. But where else could this go?
I can't tell because I have no idea what setMinibuffer() actually does!

setMinibuffer() is still used in:

frontends/xforms/FormDocument.C
frontends/controllers/ControlDocument.C
frontends/controllers/ControlCharacter.C
frontends/controllers/ControlParagraph.C
frontends/controllers/ControlPreamble.C
frontends/controllers/ControlSearch.C
frontends/controllers/ControlThesaurus.C

which makes me believe that setMinibuffer() has nothing to do with printing,
but I'm not sure.

Regards,
Rob.


Reply via email to