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? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)