【发布时间】:2011-05-15 04:50:33
【问题描述】:
如何在DBusInterface 中为purple_find_buddies 创建一个方法?具体来说,我必须指定什么作为返回类型而不是 GSList*?
【问题讨论】:
如何在DBusInterface 中为purple_find_buddies 创建一个方法?具体来说,我必须指定什么作为返回类型而不是 GSList*?
【问题讨论】:
看起来,它只是变成了一个List——在这种情况下,一个List<Integer>。
public List<Integer> PurpleFindBuddies(int account, String name);
这一行属于CreateInterface为我生成的文件:
CreateInterface im.pidgin.purple.PurpleService /im/pidgin/purple/PurpleObject -f
【讨论】: