[Vala] Another interface implementation problem
- From: Dominique Würtz <housirer gmx de>
- To: vala paldo org
- Subject: [Vala] Another interface implementation problem
- Date: Sat, 02 Sep 2006 18:38:19 +0200
Hi,
I'm struggling with the following hierarchy provided by GooCanvas (which
I'm creating bindings for):
interface Item {
public abstract View create_view ();
}
abstract class SimpleItem : Item {
// This does _not_ implement create_view ()
}
class MyItem : SimpleItem {
public override View create_view ();
}
Vala complains that it can't find I prototype for create_view () in
SimpleItem which can be overridden. Out of curiosity I fed this
hierarchy into the Mono C# compiler and found that C# requires you to
implement the complete interface in SimpleItem. However, GooCanvas
relies on these relaxed inheritance policies, so my question is, could
Vala be modified to accept abstract classes implementing interfaces only
partly?
Dominique
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]