Hey,

The following code won't compile unless I create a flush() in Concrete,
but I can't seem to access Entity.flush() at all, any way around this
that doesn't involve making Entity a class?

public interface Flushable : Object
{
    public abstract void flush();
}

public interface Entity : Object, Flushable
{
    public virtual void flush()
    {
        // Do Something
    }
}

public class Concrete : Object, Flushable, Entity
{
    public static int main(string[] args)
    {
        stdout.printf("Hello World\n");
        return 0;
    }
}

_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to