mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
25581738a8
This is mostly complete, sans support for activation. However, its not as picky as the libdbus implementation in terms like validation and limits checking, nor is it as tested. Its can be useful to test gdbus if dbus-daemon is not availible, but its main reason for existance is to implement a default session bus on win32 so that e.g. GApplication is guaranteed to work.
20 lines
865 B
C
20 lines
865 B
C
#include <gio/gio.h>
|
|
|
|
#define G_TYPE_DBUS_DAEMON (_g_dbus_daemon_get_type ())
|
|
#define G_DBUS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_DAEMON, GDBusDaemon))
|
|
#define G_DBUS_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_DBUS_DAEMON, GDBusDaemonClass))
|
|
#define G_DBUS_DAEMON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_DBUS_DAEMON, GDBusDaemonClass))
|
|
#define G_IS_DBUS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_DAEMON))
|
|
#define G_IS_DBUS_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DBUS_DAEMON))
|
|
|
|
typedef struct _GDBusDaemon GDBusDaemon;
|
|
typedef struct _GDBusDaemonClass GDBusDaemonClass;
|
|
|
|
GType _g_dbus_daemon_get_type (void) G_GNUC_CONST;
|
|
|
|
GDBusDaemon *_g_dbus_daemon_new (const char *address,
|
|
GCancellable *cancellable,
|
|
GError **error);
|
|
|
|
const char *_g_dbus_daemon_get_address (GDBusDaemon *daemon);
|