summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-channel.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-08-19 18:16:55 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2010-08-19 18:52:31 +0100
commitbef2a5a43ac571f2170077cb89a5c5f75b98cbff (patch)
treeef1f7e4c8b55d276fd53bce751e5ba5d7e768d26 /telepathy-glib/base-channel.c
parent202a8f7d3754cd8e5d09099e54b84754ee601cf4 (diff)
downloadtelepathy-glib-bef2a5a43ac571f2170077cb89a5c5f75b98cbff.tar.gz
Typedef the TpBaseChannelClass vfuncs' signatures
This makes it easier to cast implementations, if the CM author so desires.
Diffstat (limited to 'telepathy-glib/base-channel.c')
-rw-r--r--telepathy-glib/base-channel.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/telepathy-glib/base-channel.c b/telepathy-glib/base-channel.c
index c108ac44e..46f34d243 100644
--- a/telepathy-glib/base-channel.c
+++ b/telepathy-glib/base-channel.c
@@ -70,6 +70,25 @@
* the supplied hash table
*/
+/**
+ * TpBaseChannelCloseFunc:
+ * @chan: a channel
+ *
+ * Signature of an implementation of the #TpBaseChannelClass.close virtual
+ * function.
+ */
+
+/**
+ * TpBaseChannelAddPropertiesFunc:
+ * @chan: a channel
+ * @properties: a dictionary of @chan's immutable properties, which the
+ * implementation may add to using
+ * tp_dbus_properties_mixin_fill_properties_hash()
+ *
+ * Signature of an implementation of the #TpBaseChannelClass.add_properties
+ * virtual function.
+ */
+
#include "config.h"
#include "base-channel.h"