문제

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

도움이 되었습니까?

해결책

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top