]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-chat.h
libempathy-gtk: fix uninitialized variable
[empathy.git] / libempathy / empathy-tp-chat.h
index adb2ee1c55f4a7437bbd1753e2b44d4ebbf52170..20fb4e1e06b0dcb3579b7665ff67e62fe3447fca 100644 (file)
@@ -22,9 +22,7 @@
 #define __EMPATHY_TP_CHAT_H__
 
 #include <glib.h>
-
-#include <telepathy-glib/channel.h>
-#include <telepathy-glib/enums.h>
+#include <telepathy-glib/telepathy-glib.h>
 
 #include "empathy-message.h"
 #include "empathy-contact.h"
@@ -65,7 +63,6 @@ GQuark empathy_tp_chat_get_feature_ready (void) G_GNUC_CONST;
 GType empathy_tp_chat_get_type (void) G_GNUC_CONST;
 
 EmpathyTpChat * empathy_tp_chat_new (TpSimpleClientFactory *factory,
-    TpAccount *account,
     TpConnection *connection,
     const gchar *object_path,
     const GHashTable *immutable_properties);
@@ -94,10 +91,9 @@ gboolean empathy_tp_chat_can_add_contact (EmpathyTpChat *self);
 
 void empathy_tp_chat_leave (EmpathyTpChat *chat,
     const gchar *message);
-void empathy_tp_chat_join (EmpathyTpChat *chat);
 
 gboolean empathy_tp_chat_is_invited (EmpathyTpChat *chat,
-    TpHandle *inviter);
+    TpContact **inviter);
 TpChannelChatState empathy_tp_chat_get_chat_state (EmpathyTpChat *chat,
     EmpathyContact *contact);
 
@@ -107,6 +103,8 @@ void empathy_tp_chat_add (EmpathyTpChat *self,
     EmpathyContact *contact,
     const gchar *message);
 
+GList * empathy_tp_chat_get_members (EmpathyTpChat *self);
+
 G_END_DECLS
 
 #endif /* __EMPATHY_TP_CHAT_H__ */