diff options
author | Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> | 2010-08-05 14:39:52 -0500 |
---|---|---|
committer | Jonathon Jongsma <jonathon.jongsma@collabora.co.uk> | 2010-08-17 11:11:30 -0500 |
commit | 5ea4d928ed0a6e833b35348be12e5309648bc6f7 (patch) | |
tree | 993da13f05f3c1a4706946d98fc9a5722d32636a /telepathy-glib/base-channel.h | |
parent | c94a60b8eae7b3533c165dd6ad026e588893b060 (diff) | |
download | telepathy-glib-5ea4d928ed0a6e833b35348be12e5309648bc6f7.tar.gz |
TpBaseChannel: add accessor for base properties
In order to make it easier for subclasses to add extra dbus properties, I
added a tp_base_channel_get_immutable_properties() accessor which returns the
base set of properties for a channel. Channel subclasses can extend this by
adding new properties to the list (via
tp_dbus_properties_mixin_fill_properties_hash()) and overriding the
"channel-properties" property to return the expanded hash table.
Diffstat (limited to 'telepathy-glib/base-channel.h')
-rw-r--r-- | telepathy-glib/base-channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telepathy-glib/base-channel.h b/telepathy-glib/base-channel.h index 1d1e5df7c..ffaf9f447 100644 --- a/telepathy-glib/base-channel.h +++ b/telepathy-glib/base-channel.h @@ -59,6 +59,7 @@ struct _TpBaseChannel void tp_base_channel_register (TpBaseChannel *chan); void tp_base_channel_destroyed (TpBaseChannel *chan); void tp_base_channel_reopened (TpBaseChannel *chan); +GHashTable *tp_base_channel_get_immutable_properties (TpBaseChannel *chan); GType tp_base_channel_get_type (void); |