summary refs log tree commit diff
path: root/introspection/nm-settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'introspection/nm-settings.xml')
-rw-r--r--introspection/nm-settings.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/introspection/nm-settings.xml b/introspection/nm-settings.xml
new file mode 100644
index 00000000..b252c00d
--- /dev/null
+++ b/introspection/nm-settings.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+  <interface name="org.freedesktop.NetworkManagerSettings">
+    <tp:docstring>
+      The NetworkManagerSettings interface is provided by the service which provides connections to NetworkManager.
+    </tp:docstring>
+
+    <method name="ListConnections">
+      <tp:docstring>
+        List the connections stored by this Settings object.
+      </tp:docstring>
+      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_list_connections"/>
+      <arg name="connections" type="ao" direction="out">
+        <tp:docstring>
+          List of connections.
+        </tp:docstring>
+      </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 added.
+      </tp:docstring>
+      <arg name="connection" type="o">
+        <tp:docstring>
+          Object path of the new connection.
+        </tp:docstring>
+      </arg>
+    </signal>
+
+  </interface>
+</node>
+