>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> On Tuesday 10 December 2002 10:21 am, Andre Poenitz wrote:
>> On Tue, Dec 10, 2002 at 10:27:08AM +0000, Angus Leeming wrote: >
>> Well then, I see no alternative but to write a bunch of 1-line
>> functions > for each frontend (below). If they default to true,
>> then you'll have to > overload only a few in the respective
>> frontends...
>> >
>> > frontends/Dialogs.h
>> >
>> > class Dialogs { > virtual bool haveAboutlyx() { return true; }
>> 
>> What about
>> 
>> virtual bool haveDialog(string const & name) { return true; }
>> 
>> which has the additional benefit that 'name' could be something
>> coming from some configurtion file and the header does not have to
>> be touched so often?

Angus> Excellent idea. It's a major pain that adding a new dialog
Angus> causes the re-compilation of the whole LyX tree.

In this case, we should also have showDialog(string const & name) and
a map name->dialog of some sort.

However, is this really 1.3.0 material?

JMarc

Reply via email to