开发者

What is GSList* in Java-DBus?

开发者 https://www.devze.com 2023-01-26 14:08 出处:网络
how can I create a method in a DBusInterface for purple_find_buddies? Specifically, what do I have to specify as the 开发者_JS百科return type instead of GSList*?As it seems, it simply becomes a List -

how can I create a method in a DBusInterface for purple_find_buddies? Specifically, what do I have to specify as the 开发者_JS百科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
0

精彩评论

暂无评论...
验证码 换一张
取 消