Hello, 2011/7/13 Tal Hadad <[email protected]>: > > I'm trying to write a client for MPRIS 2.0 specs, and one of my TODO list is > to get all Media players which activated. > This is done by passing all DBus addresses and check if it's in the format of > "org.mpris.MediaPlayer2.*". > For doing this, I need to add callback to method "list_names" in interface > "/org/freedesktop/DBus"(which I called MasterDBus) in "org.freedesktop.DBus". > This is a relevant part of my code: > > [DBus (name = "org.freedesktop.DBus")] > public interface MasterDBus { > public abstract void list_names (MDBusCallBack cb);
After a quick look at the specification, I think this method takes no argument and returns a string[]. That's probably the problem. HTH, Abderrahim _______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
