NMObject

NMObject

Synopsis

#define             NM_OBJECT_DBUS_CONNECTION
#define             NM_OBJECT_DBUS_PATH
                    NMObject;
                    NMObjectClass;
DBusGConnection *   nm_object_get_connection            (NMObject *object);
const char *        nm_object_get_path                  (NMObject *object);

Description

Details

NM_OBJECT_DBUS_CONNECTION

#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"


NM_OBJECT_DBUS_PATH

#define NM_OBJECT_DBUS_PATH "dbus-path"


NMObject

typedef struct {
	GObject parent;
} NMObject;


NMObjectClass

typedef struct {
	GObjectClass parent;

	/* Padding for future expansion */
	void (*_reserved1) (void);
	void (*_reserved2) (void);
	void (*_reserved3) (void);
	void (*_reserved4) (void);
	void (*_reserved5) (void);
	void (*_reserved6) (void);
} NMObjectClass;


nm_object_get_connection ()

DBusGConnection *   nm_object_get_connection            (NMObject *object);

Gets the NMObject's DBusGConnection.

object :

a NMObject

Returns :

the connection. [transfer none]

nm_object_get_path ()

const char *        nm_object_get_path                  (NMObject *object);

Gets the DBus path of the NMObject.

object :

a NMObject

Returns :

the object's path. This is the internal string used by the device, and must not be modified.