[Mono-list] Windows.Forms, KDE
Thu, 4 Jul 2002 11:15:24 -0400
On Thursday 04 July 2002 05:59 am, Paolo Molaro wrote:
> On 07/04/02 BioChem333 wrote:
> > BTW, does mcs have conditional compilation yet? If not, are there any
> > plans to add it?
> mcs supports conditional compilation. The problem is the code risks
> becoming a mess. Some files can be shared just fine for the gtk, qt or
> cocoa implementations, but if there is the need of more than a couple of
> #ifs in one file, I vote for separating them.
From what I understand the wrapper dependant code will be quite substantial,
so they'll require quite a bit more than a few conditional #ifs. I prefer
the current setup, ie a stubbed version of Windows.Forms and then toolkit
dependant implementations. No reason to add a bunch of complexity to the
As far as Qt# goes, this is all speculation because the binding is just not
ready yet. I believe Gtk# is quite a bit further along, so I think we'll
wait and see how Mike and Rachel write the wrapper and hopefully learn from
BTW, when Qt# is ready I wonder whether the Windows.Forms wrapper should be
created in Mono's cvs or somewhere else? Mono's cvs would centralize the
work, but this would require a dependancy on Qt# (which in turn requires qtc
;-) which is in kde's cvs at the moment.