javadbuslibpurple

What is GSList* in Java-DBus?


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


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