hook gvariant vectors up to kdbus
[platform/upstream/glib.git] / gio / gdbusdaemon.h
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 GType _g_dbus_daemon_get_type (void) G_GNUC_CONST;
14
15 GDBusDaemon *_g_dbus_daemon_new (const char *address,
16                                  GCancellable *cancellable,
17                                  GError **error);
18
19 const char *_g_dbus_daemon_get_address (GDBusDaemon *daemon);