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-contact.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-contact.h')
-rw-r--r-- | libempathy/empathy-contact.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h index 2dd6bc0fb..231f95b9d 100644 --- a/libempathy/empathy-contact.h +++ b/libempathy/empathy-contact.h @@ -26,6 +26,9 @@ #include <telepathy-glib/contact.h> #include <telepathy-glib/account.h> +#ifdef ENABLE_TPL +#include <telepathy-logger/contact.h> +#endif /* ENABLE_TPL */ G_BEGIN_DECLS @@ -70,6 +73,10 @@ typedef enum { GType empathy_contact_get_type (void) G_GNUC_CONST; EmpathyContact * empathy_contact_new (TpContact *tp_contact); +#ifdef ENABLE_TPL +EmpathyContact * empathy_contact_from_tpl_contact (TpAccount *account, + TplContact *tpl_contact); +#endif /* ENABLE_TPL */ EmpathyContact * empathy_contact_new_for_log (TpAccount *account, const gchar *id, const gchar *name, gboolean is_user); TpContact * empathy_contact_get_tp_contact (EmpathyContact *contact); |