diff options
author | Dan Williams <dcbw@redhat.com> | 2010-12-17 16:27:55 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-12-17 16:27:55 -0600 |
commit | d2ce75b57a27a9feaddb25558e62ae7162ef7f9f (patch) | |
tree | 4a7363b88fdc2c03d05cf9e834086d7f9384f49f /src/mm-properties-changed-signal.h | |
parent | 592d71ff76318b6389f6866d5394a844c7e35513 (diff) |
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.
Diffstat (limited to 'src/mm-properties-changed-signal.h')
-rw-r--r-- | src/mm-properties-changed-signal.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mm-properties-changed-signal.h b/src/mm-properties-changed-signal.h index 87f46a9f..a6d0f3ee 100644 --- a/src/mm-properties-changed-signal.h +++ b/src/mm-properties-changed-signal.h @@ -19,7 +19,18 @@ #include <glib-object.h> -guint mm_properties_changed_signal_new (GObjectClass *object_class); +#define MM_TYPE_PROPERTIES_CHANGED (mm_properties_changed_get_type ()) +#define MM_PROPERTIES_CHANGED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_PROPERTIES_CHANGED, MMPropertiesChanged)) +#define MM_IS_PROPERTIES_CHANGED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_PROPERTIES_CHANGED)) +#define MM_PROPERTIES_CHANGED_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MM_TYPE_PROPERTIES_CHANGED, MMPropertiesChanged)) + +typedef struct { + GTypeInterface g_iface; +} MMPropertiesChanged; + +GType mm_properties_changed_get_type (void); + +void mm_properties_changed_signal_enable (GObjectClass *object_class); void mm_properties_changed_signal_register_property (GObject *object, const char *gobject_property, |