aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-11 21:53:50 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-25 15:22:41 +0800
commit0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c (patch)
tree22d694d8dce6c66151362c1301e3fa9a6291ff9a /libempathy/empathy-tp-chat.h
parent4e39c2c5adac55793143c110159fa40cc51f324c (diff)
downloadgsoc2013-empathy-0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c.tar
gsoc2013-empathy-0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c.tar.gz
gsoc2013-empathy-0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c.tar.bz2
gsoc2013-empathy-0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c.tar.lz
gsoc2013-empathy-0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c.tar.xz
gsoc2013-empathy-0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c.tar.zst
gsoc2013-empathy-0dd8e6cbd7b903d2ce8b56995e4b4ac6ed042f2c.zip
EmpathyTpChat: inherit from TpTextChannel (#650554)
Diffstat (limited to 'libempathy/empathy-tp-chat.h')
-rw-r--r--libempathy/empathy-tp-chat.h11
1 files changed, 7 insertions, 4 deletions
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);