#ifndef __EMPATHY_CHAT_H__
#define __EMPATHY_CHAT_H__
-#include <gtk/gtkbin.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact.h>
#include <libempathy/empathy-message.h>
typedef struct _EmpathyChat EmpathyChat;
typedef struct _EmpathyChatClass EmpathyChatClass;
+typedef struct _EmpathyChatPriv EmpathyChatPriv;
struct _EmpathyChat {
GtkBin parent;
- gpointer priv;
+ EmpathyChatPriv *priv;
/* Protected */
EmpathyChatView *view;
EmpathyTpChat * empathy_chat_get_tp_chat (EmpathyChat *chat);
void empathy_chat_set_tp_chat (EmpathyChat *chat,
EmpathyTpChat *tp_chat);
-McAccount * empathy_chat_get_account (EmpathyChat *chat);
+TpAccount * empathy_chat_get_account (EmpathyChat *chat);
const gchar * empathy_chat_get_id (EmpathyChat *chat);
const gchar * empathy_chat_get_name (EmpathyChat *chat);
const gchar * empathy_chat_get_subject (EmpathyChat *chat);
void empathy_chat_cut (EmpathyChat *chat);
void empathy_chat_copy (EmpathyChat *chat);
void empathy_chat_paste (EmpathyChat *chat);
+void empathy_chat_find (EmpathyChat *chat);
void empathy_chat_correct_word (EmpathyChat *chat,
GtkTextIter *start,
GtkTextIter *end,
const gchar *new_word);
gboolean empathy_chat_is_room (EmpathyChat *chat);
+void empathy_chat_set_show_contacts (EmpathyChat *chat,
+ gboolean show);
+guint empathy_chat_get_nb_unread_messages (EmpathyChat *chat);
+
+void empathy_chat_messages_read (EmpathyChat *self);
G_END_DECLS
#endif /* __EMPATHY_CHAT_H__ */