summaryrefslogtreecommitdiff
path: root/telepathy-glib/cm-message.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-20 16:12:35 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-09 13:56:26 +0100
commitb8adf5cb11e7f6b97cb359555f404ac69ad3320d (patch)
tree3ec945246bd9a555ed80380cab126d03c3c363a6 /telepathy-glib/cm-message.h
parentd3e8296336bcee038f83eecb3168effb5bdf096f (diff)
downloadtelepathy-glib-b8adf5cb11e7f6b97cb359555f404ac69ad3320d.tar.gz
move implementation of some CM specific methods to cm-message
Diffstat (limited to 'telepathy-glib/cm-message.h')
-rw-r--r--telepathy-glib/cm-message.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/telepathy-glib/cm-message.h b/telepathy-glib/cm-message.h
index 70e895ae1..5395ccfa0 100644
--- a/telepathy-glib/cm-message.h
+++ b/telepathy-glib/cm-message.h
@@ -39,6 +39,25 @@ typedef struct _TpCMMessageClass TpCMMessageClass;
GType tp_cm_message_get_type (void);
+TpMessage * tp_cm_message_new (TpBaseConnection *connection,
+ guint initial_parts,
+ guint size_hint);
+
+void tp_cm_message_take_message (TpMessage *self,
+ guint part,
+ const gchar *key,
+ TpMessage *message);
+
+void tp_cm_message_set_handle (TpMessage *self,
+ guint part,
+ const gchar *key,
+ TpHandleType handle_type,
+ TpHandle handle_or_0);
+
+void tp_cm_message_ref_handle (TpMessage *self,
+ TpHandleType handle_type,
+ TpHandle handle);
+
G_END_DECLS
#endif /* __TP_CM_MESSAGE_H__ */