1

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*?

thejh
  • 44,854
  • 16
  • 96
  • 107

1 Answers1

1

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
thejh
  • 44,854
  • 16
  • 96
  • 107