aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
Diffstat (limited to 'introspection')
-rw-r--r--introspection/Makefile.am3
-rw-r--r--introspection/all.xml1
-rw-r--r--introspection/mm-modem.xml18
-rw-r--r--introspection/mm-properties-changed.xml45
4 files changed, 48 insertions, 19 deletions
diff --git a/introspection/Makefile.am b/introspection/Makefile.am
index 941c9244..5c2a5ebb 100644
--- a/introspection/Makefile.am
+++ b/introspection/Makefile.am
@@ -15,4 +15,5 @@ EXTRA_DIST = \
mm-modem-simple.xml \
mm-serial-error.xml \
mm-modem-location.xml \
- mm-modem-gsm-ussd.xml
+ mm-modem-gsm-ussd.xml \
+ mm-properties-changed.xml
diff --git a/introspection/all.xml b/introspection/all.xml
index 6489cf8a..dd30b574 100644
--- a/introspection/all.xml
+++ b/introspection/all.xml
@@ -35,6 +35,7 @@
<xi:include href="mm-modem-gsm-sms.xml"/>
<xi:include href="mm-modem-gsm-hso.xml"/>
<xi:include href="mm-modem-gsm-ussd.xml"/>
+ <xi:include href="mm-properties-changed.xml"/>
<xi:include href="mm-serial-error.xml"/>
<xi:include href="mm-modem-error.xml"/>
diff --git a/introspection/mm-modem.xml b/introspection/mm-modem.xml
index 9391bad5..e0cf4bd5 100644
--- a/introspection/mm-modem.xml
+++ b/introspection/mm-modem.xml
@@ -2,24 +2,6 @@
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
- <interface name="org.freedesktop.DBus.Properties">
- <signal name="MmPropertiesChanged">
- <tp:docstring>
- One or more properties' values changed.
- </tp:docstring>
- <arg name="interface" type="s">
- <tp:docstring>
- The D-Bus interface of the changed properties.
- </tp:docstring>
- </arg>
- <arg name="properties" type="a{sv}">
- <tp:docstring>
- The changed property names and their new values.
- </tp:docstring>
- </arg>
- </signal>
- </interface>
-
<interface name="org.freedesktop.ModemManager.Modem">
<method name="Enable">
<tp:docstring>
diff --git a/introspection/mm-properties-changed.xml b/introspection/mm-properties-changed.xml
new file mode 100644
index 00000000..b2d09236
--- /dev/null
+++ b/introspection/mm-properties-changed.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+ <interface name="org.freedesktop.DBus.Properties">
+ <signal name="MmPropertiesChanged">
+ <tp:docstring>
+ One or more properties' values changed.
+ </tp:docstring>
+ <arg name="interface" type="s">
+ <tp:docstring>
+ The D-Bus interface of the changed properties.
+ </tp:docstring>
+ </arg>
+ <arg name="properties" type="a{sv}">
+ <tp:docstring>
+ The changed property names and their new values.
+ </tp:docstring>
+ </arg>
+ </signal>
+
+ <signal name="PropertiesChanged">
+ <tp:docstring>
+ One or more properties value changed; this signal implements the
+ D-Bus specification's PropertiesChanged signal.
+ </tp:docstring>
+ <arg name="interface" type="s">
+ <tp:docstring>
+ The D-Bus interface of the changed properties.
+ </tp:docstring>
+ </arg>
+ <arg name="changed_properties" type="a{sv}">
+ <tp:docstring>
+ The changed property names and their new values.
+ </tp:docstring>
+ </arg>
+ <arg name="invalidated_properties" type="as">
+ <tp:docstring>
+ Properties which are now invalid, but for which the new value is not
+ emitted in this signal. Clients interested in these properties should
+ issue a Get request for them to retrieve the new value.
+ </tp:docstring>
+ </arg>
+ </signal>
+ </interface>
+</node>