[Gtk-sharp-list] How to make a generated class implement an interface?

Mike Kestner mkestner@speakeasy.net
11 Apr 2003 21:55:30 -0500


On Wed, 2003-04-09 at 01:15, Charles Iliya Krempeaux wrote:

> I was wondering how I would go about making a generated class
> implement an interface.
>
> I.e., what exactly in the source/*.metadata file should I edit
> to do this???

Not currently possible. It shouldn't be too hard to add something to the
generator though. Basically we'd need a tag to mark an interface in the
<implements> block as hand implemented, and some code in the generator
to only add those to the class line and not try to generate the
interface methods since it won't be able to locate an IGeneratable for
it.

-- 
Mike Kestner <mkestner@speakeasy.net>