diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-26 16:49:16 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-26 16:49:16 +0800 |
commit | 04a3f49597c3ffb367b48fe6c01f972bdd15ea11 (patch) | |
tree | 71365ef368afa72968af8bff1b41d8c0665d1009 /libempathy/empathy-message.h | |
parent | e86aa1065dbf60d7a1e68bf50d9fbbccbb34312a (diff) | |
parent | 28244a9c41e2c4274d2cb298c20b5e8909f7578a (diff) | |
download | gsoc2013-empathy-04a3f49597c3ffb367b48fe6c01f972bdd15ea11.tar gsoc2013-empathy-04a3f49597c3ffb367b48fe6c01f972bdd15ea11.tar.gz gsoc2013-empathy-04a3f49597c3ffb367b48fe6c01f972bdd15ea11.tar.bz2 gsoc2013-empathy-04a3f49597c3ffb367b48fe6c01f972bdd15ea11.tar.lz gsoc2013-empathy-04a3f49597c3ffb367b48fe6c01f972bdd15ea11.tar.xz gsoc2013-empathy-04a3f49597c3ffb367b48fe6c01f972bdd15ea11.tar.zst gsoc2013-empathy-04a3f49597c3ffb367b48fe6c01f972bdd15ea11.zip |
Merge commit 'ka/empathy-tpl-20100225-ifdef'
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); |