John Levon <[EMAIL PROTECTED]> writes: | On Mon, May 27, 2002 at 02:13:50AM +0200, Lars Gullik Bjønnes wrote: > >> class XWorkArea { >> ... >> }; >> >> typedef XWorkArea WorkArea; > | You want to include toolkit-specific header files in core code - and this is | supposed to be an improvement ? [1]
And why would you _have_ to do that? | I will be perfectly happy to dump these problems on you. Btw, I hope you | are happy with > | #undef emit > | in core code now, because that is the sort of thing you will have to | cope with. All for the sake of some spurious wish to get rid of a use | of scoped_ptr (things which you have introduced left right and centre) But never for this reason. (and if I did, that was never the intent) | regards | john > | [1] insisting that QWorkArea.h does not include any Qt headers is not an | option, sorry. I have to deal with enough bogosity from Qt (see | QContentPane class), I'm not going to have /another/ spurious class just | for this extremely dubious decision Then work with me a bit, I am asking why a pointer and virtual functions are needed even when we never have one type of WorkArea in use. Do not see the need for either, so I need to be convinced. -- Lgb