![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
enum NMDeviceAdslError; #define NM_DEVICE_ADSL_ERROR GQuark nm_device_adsl_error_quark (void
); #define NM_DEVICE_ADSL_CARRIER NMDeviceAdsl; NMDeviceAdslClass; GObject * nm_device_adsl_new (DBusGConnection *connection
,const char *path
); gboolean nm_device_adsl_get_carrier (NMDeviceAdsl *device
);
typedef enum { NM_DEVICE_ADSL_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ NM_DEVICE_ADSL_ERROR_NOT_ADSL_CONNECTION, /*< nick=NotAdslConnection >*/ NM_DEVICE_ADSL_ERROR_INVALID_ADSL_CONNECTION, /*< nick=InvalidAdslConnection >*/ } NMDeviceAdslError;
GQuark nm_device_adsl_error_quark (void
);
Registers an error quark for NMDeviceAdsl if necessary.
Returns : |
the error quark used for NMDeviceAdsl errors. |
typedef struct { NMDeviceClass parent; /* Padding for future expansion */ void (*_reserved1) (void); void (*_reserved2) (void); void (*_reserved3) (void); void (*_reserved4) (void); void (*_reserved5) (void); void (*_reserved6) (void); } NMDeviceAdslClass;
GObject * nm_device_adsl_new (DBusGConnection *connection
,const char *path
);
Creates a new NMDeviceAdsl.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new device. [transfer full] |
gboolean nm_device_adsl_get_carrier (NMDeviceAdsl *device
);
Whether the device has carrier.
|
a NMDeviceAdsl |
Returns : |
TRUE if the device has carrier |
"carrier"
property"carrier" gboolean : Read
Whether the device has carrier.
Default value: FALSE