diff options
Diffstat (limited to 'libempathy/empathy-message.h')
-rw-r--r-- | libempathy/empathy-message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-message.h b/libempathy/empathy-message.h index 1db0eff60..cb57f0755 100644 --- a/libempathy/empathy-message.h +++ b/libempathy/empathy-message.h @@ -26,6 +26,7 @@ #define __EMPATHY_MESSAGE_H__ #include <glib-object.h> +#include <telepathy-glib/message.h> #include <telepathy-logger/event.h> #include "empathy-contact.h" @@ -53,8 +54,12 @@ struct _EmpathyMessageClass { }; GType empathy_message_get_type (void) G_GNUC_CONST; + EmpathyMessage * empathy_message_new (const gchar *body); EmpathyMessage * empathy_message_from_tpl_log_event (TplEvent *logevent); +EmpathyMessage * empathy_message_new_from_tp_message (TpMessage *tp_msg, + gboolean incoming); + TpChannelTextMessageType empathy_message_get_tptype (EmpathyMessage *message); void empathy_message_set_tptype (EmpathyMessage *message, TpChannelTextMessageType type); |