diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-24 03:32:57 +0800 |
---|---|---|
committer | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-26 01:26:57 +0800 |
commit | 8d4d46e440c7a6bd321fc098265db8ede27c07de (patch) | |
tree | bcdffe751459a38bd950d5424d628d831c5243a7 /libempathy/empathy-message.h | |
parent | 8e24107b437f63d9b2ca93e0d5b7379ee87af98d (diff) | |
download | gsoc2013-empathy-8d4d46e440c7a6bd321fc098265db8ede27c07de.tar gsoc2013-empathy-8d4d46e440c7a6bd321fc098265db8ede27c07de.tar.gz gsoc2013-empathy-8d4d46e440c7a6bd321fc098265db8ede27c07de.tar.bz2 gsoc2013-empathy-8d4d46e440c7a6bd321fc098265db8ede27c07de.tar.lz gsoc2013-empathy-8d4d46e440c7a6bd321fc098265db8ede27c07de.tar.xz gsoc2013-empathy-8d4d46e440c7a6bd321fc098265db8ede27c07de.tar.zst gsoc2013-empathy-8d4d46e440c7a6bd321fc098265db8ede27c07de.zip |
TPL Enabling patch, all-in-one.
By default TPL is disabled, use --enable-tpl configure option to enable it.
Diffstat (limited to 'libempathy/empathy-message.h')
-rw-r--r-- | libempathy/empathy-message.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy/empathy-message.h b/libempathy/empathy-message.h index 512869373..d8d0c9603 100644 --- a/libempathy/empathy-message.h +++ b/libempathy/empathy-message.h @@ -26,6 +26,9 @@ #define __EMPATHY_MESSAGE_H__ #include <glib-object.h> +#ifdef ENABLE_TPL +#include <telepathy-logger/log-entry.h> +#endif #include "empathy-contact.h" #include "empathy-time.h" @@ -53,6 +56,9 @@ struct _EmpathyMessageClass { GType empathy_message_get_type (void) G_GNUC_CONST; EmpathyMessage * empathy_message_new (const gchar *body); +#ifdef ENABLE_TPL +EmpathyMessage * empathy_message_from_tpl_log_entry (TplLogEntry *logentry); +#endif /* ENABLE_TPL */ TpChannelTextMessageType empathy_message_get_tptype (EmpathyMessage *message); void empathy_message_set_tptype (EmpathyMessage *message, TpChannelTextMessageType type); |