2007-09-09 Dan Williams <dcbw@redhat.com>
* src/nm-device-interface.h - Add NMDeviceInterfaceError with an UnknownConnection error git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2773 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
#define NM_IS_DEVICE_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_DEVICE_INTERFACE))
|
||||
#define NM_DEVICE_INTERFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), NM_TYPE_DEVICE_INTERFACE, NMDeviceInterface))
|
||||
|
||||
typedef enum
|
||||
{
|
||||
NM_DEVICE_INTERFACE_ERROR_UNKNOWN_CONNECTION = 0,
|
||||
} NMDeviceInterfaceError;
|
||||
|
||||
#define NM_DEVICE_INTERFACE_ERROR (nm_device_interface_error_quark ())
|
||||
#define NM_DEVICE_INTERFACE_TYPE_ERROR (nm_device_interface_error_get_type ())
|
||||
|
||||
#define NM_DEVICE_INTERFACE_UDI "udi"
|
||||
#define NM_DEVICE_INTERFACE_IFACE "interface"
|
||||
@@ -54,6 +61,9 @@ struct _NMDeviceInterface {
|
||||
void (*carrier_changed) (NMDeviceInterface *device, gboolean carrier_on);
|
||||
};
|
||||
|
||||
GQuark nm_device_interface_error_quark (void);
|
||||
GType nm_device_interface_error_get_type (void);
|
||||
|
||||
GType nm_device_interface_get_type (void);
|
||||
|
||||
void nm_device_interface_activate (NMDeviceInterface *device,
|
||||
|
Reference in New Issue
Block a user