使用 dbus-binding-tool 的 glib dbus 服务示例?

标签 glib dbus

我正在寻找使用 Freedesktop.org 此处建议的 glib dbus 支持的完整示例 ( http://www.freedesktop.org/wiki/Software/DBusBindings/ ) 和 dbus-binding-tool。

我看了这里,https://developer.gnome.org/gio/2.26/GDBusServer.html ,但这没有使用 dbus-binding-tool 生成的服务器头文件,也查看了此处,http://dbus.freedesktop.org/doc/dbus-tutorial.html#glib-server ,但本教程使用的是已弃用的 dbus-glib 接口(interface)...

最佳答案

看起来您需要gdbus-codegenthe man page中有完整的教程。 .

关于使用 dbus-binding-tool 的 glib dbus 服务示例?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25702247/

相关文章:

ada - 在 GPS (Ada IDE) 中使用 glib.h 进行编译时出现问题

c - Glib/Gio 异步或线程 UDP 服务器

bash - 如何使用 bash 持续监控 rhythmbox 的音轨变化

audio - ofono的DBUS无法与PulseAudio通信

linux - DBus-monitor 用于观察蓝牙事件

c - g_io_channel + socket = client, GIO 不能正常工作

iphone - Glib 在 iPhone 应用程序中的使用

c - gsocket(服务器模式)出现错误?

gnome - 在 Gnome 中,dbus-monitor 上的什么信号表明用户正在注销?

dbus - 为 Qt D-Bus 自省(introspection)定义枚举自定义类型