我正在寻找一个完整的示例,使用Freedesktop.org这里(http://www.freedesktop.org/wiki/Software/DBusBindings/)建议的glib支持和dbus绑定工具。
我在这里看过了,https://developer.gnome.org/gio/2.26/GDBusServer.html,但这不是使用dbus绑定工具生成的服务器头文件,这里也查看了http://dbus.freedesktop.org/doc/dbus-tutorial.html#glib-server,但是本教程使用的是不推荐的dbus-glib接口.
发布于 2015-02-09 13:48:22
看起来您需要gdbus-codegen,对此手册页有一个完整的教程。
https://stackoverflow.com/questions/25702247
复制相似问题