Re: Turning guiapi.C on its head

2002-08-13 Thread Angus Leeming
On Tuesday 13 August 2002 4:24 pm, Lars Gullik Bjønnes wrote: > | Connect these boost::functions to the appropriate methods hidden deep > | within frontends. Eg > | showAboutLyX=boost::bind(&ControlAboutLyX::show, this); > | (I'd like to do this in the Dialogs c-tor, but we'll see...) > > and

Re: Turning guiapi.C on its head

2002-08-13 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | We used to have code that would have resulted in each separate LyXView having | its own set of dialogs. > | Lars created guiapi.C and moved all the dialogs into singleton classes that | could be accessed through the various functions. Eg > | extern "

Turning guiapi.C on its head

2002-08-13 Thread Angus Leeming
We used to have code that would have resulted in each separate LyXView having its own set of dialogs. Lars created guiapi.C and moved all the dialogs into singleton classes that could be accessed through the various functions. Eg extern "C" { void gui_ShowAboutlyx(LyXView & lv, Dialog