summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-04-05 20:06:03 +0200
committerThomas Haller <thaller@redhat.com>2018-04-16 15:30:07 +0200
commitacc8244ca2dce5f977f2a2552f598c79169ff909 (patch)
tree91a0a882fbd815dd7b7af2fca89a33b9e86e5a58 /introspection
parent8df245d773dfbf686fe1c85863b6baf82e482661 (diff)
all: add D-Bus property "Flags" for Settings.Connection interface
The D-Bus interface already has a boolean property "Unsaved". While that is nicer too look at (in the API), adding a new flag is very cumbersome, and also has more overhead. For example, it requires extending the D-Bus API, all the way down to libnm. Add a flags argument, that will allow to add future boolean flags easier.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.NetworkManager.Settings.Connection.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml b/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml
index ec596fd1e..13f626c33 100644
--- a/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml
+++ b/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml
@@ -160,6 +160,17 @@
<property name="Unsaved" type="b" access="read"/>
<!--
+ Flags:
+
+ Additional flags of the connection profile.
+
+ Returns: <link linkend="NMSettingsConnectionFlags">NMSettingsConnectionFlags</link>
+
+ Since: 1.12
+ -->
+ <property name="Flags" type="u" access="read"/>
+
+ <!--
PropertiesChanged:
@properties: A dictionary mapping property names to variant boxed values.