summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-bridge.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-09-03 14:23:16 -0400
committerDan Winship <danw@gnome.org>2013-09-12 18:34:23 -0400
commit2688ae4950070f2a57db1347d9ebfbce0898fe53 (patch)
treece667df59bf4b14569ba2fd623eb782e61119717 /src/devices/nm-device-bridge.h
parent23d4973835d90dd4cb05fb7a8ec6b8119e439065 (diff)
downloadNetworkManager-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.h3
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