]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-private-chat.h
Cleanup chat objects API and request a new Text channel if account gets
[empathy.git] / libempathy-gtk / empathy-private-chat.h
index b13eede7fa5785836167f7200be3d3e1ba1693f0..169809bb0b62a3338a0a4de3e82e59bae4dbc413 100644 (file)
 #ifndef __EMPATHY_PRIVATE_CHAT_H__
 #define __EMPATHY_PRIVATE_CHAT_H__
 
-#include <libtelepathy/tp-chan.h>
-
-#include <libmissioncontrol/mc-account.h>
-
+#include <libempathy/empathy-tp-chat.h>
 #include <libempathy/empathy-contact.h>
 
 G_BEGIN_DECLS
@@ -57,11 +54,9 @@ struct _EmpathyPrivateChatClass {
        EmpathyChatClass parent;
 };
 
-GType               empathy_private_chat_get_type         (void);
-EmpathyPrivateChat * empathy_private_chat_new              (McAccount         *account,
-                                                         TpChan            *tp_chan);
-EmpathyPrivateChat * empathy_private_chat_new_with_contact (EmpathyContact     *contact);
-EmpathyContact *     empathy_private_chat_get_contact      (EmpathyPrivateChat *chat);
+GType                empathy_private_chat_get_type    (void);
+EmpathyPrivateChat * empathy_private_chat_new         (EmpathyTpChat      *tp_chat);
+EmpathyContact *     empathy_private_chat_get_contact (EmpathyPrivateChat *chat);
 
 G_END_DECLS