1 | #include <gio/gio.h> |
2 | |
3 | #define G_TYPE_DBUS_DAEMON (_g_dbus_daemon_get_type ()) |
4 | #define G_DBUS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_DAEMON, GDBusDaemon)) |
5 | #define G_DBUS_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_DBUS_DAEMON, GDBusDaemonClass)) |
6 | #define G_DBUS_DAEMON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_DBUS_DAEMON, GDBusDaemonClass)) |
7 | #define G_IS_DBUS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_DAEMON)) |
8 | #define G_IS_DBUS_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DBUS_DAEMON)) |
9 | |
10 | typedef struct _GDBusDaemon GDBusDaemon; |
11 | typedef struct _GDBusDaemonClass GDBusDaemonClass; |
12 | |
13 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusDaemon, g_object_unref) |
14 | |
15 | GType _g_dbus_daemon_get_type (void) G_GNUC_CONST; |
16 | |
17 | GDBusDaemon *_g_dbus_daemon_new (const char *address, |
18 | GCancellable *cancellable, |
19 | GError **error); |
20 | |
21 | const char *_g_dbus_daemon_get_address (GDBusDaemon *daemon); |
22 | |