aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-12 22:16:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-12 22:23:27 +0800
commit567a34cbbb5c93b40ee44739fff9a908bd31195b (patch)
tree958a4def954661b884e22d8d225c51684a00c6f2 /libempathy/empathy-tp-chat.h
parentd25eb63968ae1880fb75fba2726c0e02a02f7e90 (diff)
downloadgsoc2013-empathy-567a34cbbb5c93b40ee44739fff9a908bd31195b.tar
gsoc2013-empathy-567a34cbbb5c93b40ee44739fff9a908bd31195b.tar.gz
gsoc2013-empathy-567a34cbbb5c93b40ee44739fff9a908bd31195b.tar.bz2
gsoc2013-empathy-567a34cbbb5c93b40ee44739fff9a908bd31195b.tar.lz
gsoc2013-empathy-567a34cbbb5c93b40ee44739fff9a908bd31195b.tar.xz
gsoc2013-empathy-567a34cbbb5c93b40ee44739fff9a908bd31195b.tar.zst
gsoc2013-empathy-567a34cbbb5c93b40ee44739fff9a908bd31195b.zip
tp-chat: add 'account' property
Diffstat (limited to 'libempathy/empathy-tp-chat.h')
-rw-r--r--libempathy/empathy-tp-chat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h
index 3ac5eaf58..8858f4971 100644
--- a/libempathy/empathy-tp-chat.h
+++ b/libempathy/empathy-tp-chat.h
@@ -60,10 +60,12 @@ typedef struct {
} EmpathyTpChatProperty;
GType empathy_tp_chat_get_type (void) G_GNUC_CONST;
-EmpathyTpChat *empathy_tp_chat_new (TpChannel *channel);
+EmpathyTpChat *empathy_tp_chat_new (TpAccount *account,
+ TpChannel *channel);
const gchar * empathy_tp_chat_get_id (EmpathyTpChat *chat);
EmpathyContact *empathy_tp_chat_get_remote_contact (EmpathyTpChat *chat);
TpChannel * empathy_tp_chat_get_channel (EmpathyTpChat *chat);
+TpAccount * empathy_tp_chat_get_account (EmpathyTpChat *chat);
TpConnection * empathy_tp_chat_get_connection (EmpathyTpChat *chat);
gboolean empathy_tp_chat_is_ready (EmpathyTpChat *chat);
void empathy_tp_chat_send (EmpathyTpChat *chat,