Question

how can I create a method in a DBusInterface for purple_find_buddies? Specifically, what do I have to specify as the return type instead of GSList*?

Was it helpful?

Solution

As it seems, it simply becomes a List - in this case, a List<Integer>.

public List<Integer> PurpleFindBuddies(int account, String name);

This line belongs to a file that CreateInterface generated for me:

CreateInterface im.pidgin.purple.PurpleService /im/pidgin/purple/PurpleObject -f
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top