From d2ce75b57a27a9feaddb25558e62ae7162ef7f9f Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 17 Dec 2010 16:27:55 -0600 Subject: core: separate PropertiesChanged signal XML Which requires that we turn it into a GInterface that MMModemBase can implement, because dbus-glib does not allow attaching more than one introspection glue structure to an object at a time. Also implement the standard D-Bus properties changed signal. --- introspection/Makefile.am | 3 ++- introspection/all.xml | 1 + introspection/mm-modem.xml | 18 ------------- introspection/mm-properties-changed.xml | 45 +++++++++++++++++++++++++++++++++ 4 files changed, 48 insertions(+), 19 deletions(-) create mode 100644 introspection/mm-properties-changed.xml (limited to 'introspection') 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 @@ + 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 @@ - - - - One or more properties' values changed. - - - - The D-Bus interface of the changed properties. - - - - - The changed property names and their new values. - - - - - 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 @@ + + + + + + + One or more properties' values changed. + + + + The D-Bus interface of the changed properties. + + + + + The changed property names and their new values. + + + + + + + One or more properties value changed; this signal implements the + D-Bus specification's PropertiesChanged signal. + + + + The D-Bus interface of the changed properties. + + + + + The changed property names and their new values. + + + + + 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. + + + + + -- cgit v1.2.3-70-g09d2