/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */ #ifndef NM_DBUS_CONNECTION_H #define NM_DBUS_CONNECTION_H #include #include G_BEGIN_DECLS #define NM_TYPE_DBUS_CONNECTION (nm_dbus_connection_get_type ()) #define NM_DBUS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_DBUS_CONNECTION, NMDBusConnection)) #define NM_DBUS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_DBUS_CONNECTION, NMDBusConnectionClass)) #define NM_IS_DBUS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_DBUS_CONNECTION)) #define NM_IS_DBUS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_DBUS_CONNECTION)) #define NM_DBUS_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DBUS_CONNECTION, NMDBusConnectionClass)) #define NM_DBUS_CONNECTION_BUS "bus" #define NM_DBUS_CONNECTION_SCOPE "scope" #define NM_DBUS_CONNECTION_PATH "path" typedef struct { NMExportedConnection parent; } NMDBusConnection; typedef struct { NMExportedConnectionClass parent; } NMDBusConnectionClass; GType nm_dbus_connection_get_type (void); NMDBusConnection *nm_dbus_connection_new (DBusGConnection *dbus_connection, NMConnectionScope scope, const char *path); G_END_DECLS #endif /* NM_DBUS_CONNECTION_H */