[Vala] DBus interfaces



Is it possible to use vala's interface with DBus?

Let's say there already exists object in DBus with interface like this:

[DBus(Name = "org.freedesktop.Foo"]
public interface IFoo
{
  public abstract void DoFoo();
  public abstract string FooString { get; }
}

Now I want to get that object from bus and tell vala somehow that it implements IFoo interface.



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