diff options
author | Dan Winship <danw@gnome.org> | 2013-09-03 14:23:16 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-09-12 18:34:23 -0400 |
commit | 2688ae4950070f2a57db1347d9ebfbce0898fe53 (patch) | |
tree | ce667df59bf4b14569ba2fd623eb782e61119717 /src/devices/nm-device-bridge.h | |
parent | 23d4973835d90dd4cb05fb7a8ec6b8119e439065 (diff) | |
download | NetworkManager-2688ae4950070f2a57db1347d9ebfbce0898fe53.tar.gz |
core: move software device creation logic out of NMManager
Rather than having NMManager know how to parse various settings to
create each kind of software device, add a _new_for_connection()
constructor to each of them and let them call NMPlatform to create the
device correctly themselves.
Diffstat (limited to 'src/devices/nm-device-bridge.h')
-rw-r--r-- | src/devices/nm-device-bridge.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/nm-device-bridge.h b/src/devices/nm-device-bridge.h index 8a910debea..5570c73555 100644 --- a/src/devices/nm-device-bridge.h +++ b/src/devices/nm-device-bridge.h @@ -54,7 +54,8 @@ typedef struct { GType nm_device_bridge_get_type (void); -NMDevice *nm_device_bridge_new (const char *iface); +NMDevice *nm_device_bridge_new (NMPlatformLink *platform_device); +NMDevice *nm_device_bridge_new_for_connection (NMConnection *connection); G_END_DECLS |