summaryrefslogtreecommitdiff
path: root/introspection/nm-settings.xml
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-07-23 09:20:52 -0400
committerDan Williams <dcbw@redhat.com>2009-07-23 09:20:52 -0400
commit0d69dfe39ef61b42b2024c7fbd8bbad9e9c6d164 (patch)
tree3f7524c0efe5386994e9bfce14baaf57c5d2fcec /introspection/nm-settings.xml
parent8f0652a9f0f3b2b2525f48fbb46ebc2525924de7 (diff)
downloadNetworkManager-0d69dfe39ef61b42b2024c7fbd8bbad9e9c6d164.tar.gz
libnm-glib: implement new settings interfaces
The old NMExportedConnection was used for both client and server-side classes, which was a mistake and made the code very complicated to follow. Additionally, all PolicyKit operations were synchronous, and PK operations can block for a long time (ie for user input) before returning, so they need to be async. But NMExportedConnection and NMSysconfigConnection didn't allow for async PK ops at all. Use this opportunity to clean up the mess and create GInterfaces that both server and client objects implement, so that the connection editor and applet can operate on generic objects like they did before (using the interfaces) but can perform specific operations (like async PK verification of callers) depending on whether they are local or remote or whatever.
Diffstat (limited to 'introspection/nm-settings.xml')
-rw-r--r--introspection/nm-settings.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/introspection/nm-settings.xml b/introspection/nm-settings.xml
index 5e072f2641..0e77a0377a 100644
--- a/introspection/nm-settings.xml
+++ b/introspection/nm-settings.xml
@@ -18,9 +18,22 @@
</arg>
</method>
+ <method name="AddConnection">
+ <tp:docstring>
+ Add new connection.
+ </tp:docstring>
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_add_connection"/>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <arg name="connection" type="a{sa{sv}}" direction="in">
+ <tp:docstring>
+ Connection settings and properties.
+ </tp:docstring>
+ </arg>
+ </method>
+
<signal name="NewConnection">
<tp:docstring>
- Emitted when a new connection has been configured.
+ Emitted when a new connection has been added.
</tp:docstring>
<arg name="connection" type="o">
<tp:docstring>