Implemented Interfaces
NMObject implements
GInitable and GAsyncInitable.
Details
NM_OBJECT_PATH
#define NM_OBJECT_PATH "path"
NM_OBJECT_DBUS_CONNECTION
#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"
struct NMObject
struct NMObject;
NMObjectClass
typedef struct {
GObjectClass parent;
/* Methods */
void (*init_dbus) (NMObject *object);
/* The "object-creation-failed" method is PRIVATE for libnm and
* is not meant for any external usage. It indicates that an error
* occured during creation of an object.
*/
void (*object_creation_failed) (NMObject *master_object,
const char *failed_path);
} NMObjectClass;
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. |
Property Details
The "dbus-connection"
property
"dbus-connection" GDBusConnection* : Read / Write / Construct Only
The GDBusConnection of the object.
The "nm-running-internal"
property
"nm-running-internal" gboolean : Read
Default value: FALSE
The "path"
property
"path" gchar* : Read / Write / Construct Only
The D-Bus object path.
Default value: NULL