From 0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 11 Feb 2011 14:53:50 +0100 Subject: EmpathyTpChat: inherit from TpTextChannel (#650554) --- libempathy/empathy-tp-chat.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libempathy/empathy-tp-chat.h') diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h index 629c1e598..f30325432 100644 --- a/libempathy/empathy-tp-chat.h +++ b/libempathy/empathy-tp-chat.h @@ -45,12 +45,12 @@ typedef struct _EmpathyTpChatClass EmpathyTpChatClass; typedef struct _EmpathyTpChatPrivate EmpathyTpChatPrivate; struct _EmpathyTpChat { - GObject parent; + TpTextChannel parent; EmpathyTpChatPrivate *priv; }; struct _EmpathyTpChatClass { - GObjectClass parent_class; + TpTextChannelClass parent_class; }; typedef struct { @@ -67,11 +67,14 @@ typedef enum { } EmpathyDeliveryStatus; GType empathy_tp_chat_get_type (void) G_GNUC_CONST; + EmpathyTpChat *empathy_tp_chat_new (TpAccount *account, - TpChannel *channel); + TpConnection *connection, + const gchar *object_path, + const GHashTable *immutable_properties); + 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); -- cgit v1.2.3