【问题标题】:What is GSList* in Java-DBus?Java-DBus 中的 GSList* 是什么?
【发布时间】:2011-05-15 04:50:33
【问题描述】:

如何在DBusInterface 中为purple_find_buddies 创建一个方法?具体来说,我必须指定什么作为返回类型而不是 GSList*

【问题讨论】:

    标签: java dbus libpurple


    【解决方案1】:

    看起来,它只是变成了一个List——在这种情况下,一个List<Integer>

    public List<Integer> PurpleFindBuddies(int account, String name);
    

    这一行属于CreateInterface为我生成的文件:

    CreateInterface im.pidgin.purple.PurpleService /im/pidgin/purple/PurpleObject -f
    

    【讨论】:

      猜你喜欢
      • 2021-11-17
      • 1970-01-01
      • 1970-01-01
      • 2013-12-15
      • 2021-10-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-04
      相关资源
      最近更新 更多