Re: [Vala] Another interface implementation problem



Jürg Billeter schrieb:
On Mon, 2006-09-11 at 09:35 +0200, Dominique Würtz wrote:
Jürg Billeter schrieb:
workaround available if you only need it in bindings at the moment: You
can just remove the overriding method from the VAPI file as the compiler
doesn't really care which classes override which methods in bindings
Unfortunately no, because MyItem is not part of the bindings, but would be a custom implementation by an app (sorry, I wasn't clear here).

Maybe it will work if you declare MyItem like that, not sure though.

class MyItem : SimpleItem, Item {
    public override View create_view ();
}

Jürg


Yes, this works! Thanks!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]