]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-chat.h
Merge branch 'sasl'
[empathy.git] / libempathy-gtk / empathy-chat.h
index c7158759a0ef23ad86a2d377b667b786e1f02a13..596b83f5df2a307b6175172b184dc8d29d67d4b0 100644 (file)
@@ -47,10 +47,11 @@ G_BEGIN_DECLS
 
 typedef struct _EmpathyChat       EmpathyChat;
 typedef struct _EmpathyChatClass  EmpathyChatClass;
+typedef struct _EmpathyChatPriv   EmpathyChatPriv;
 
 struct _EmpathyChat {
        GtkBin parent;
-       gpointer priv;
+       EmpathyChatPriv *priv;
 
        /* Protected */
        EmpathyChatView *view;
@@ -66,7 +67,7 @@ EmpathyChat *      empathy_chat_new                  (EmpathyTpChat *tp_chat);
 EmpathyTpChat *    empathy_chat_get_tp_chat          (EmpathyChat   *chat);
 void               empathy_chat_set_tp_chat          (EmpathyChat   *chat,
                                                      EmpathyTpChat *tp_chat);
-EmpathyAccount *        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);
@@ -77,6 +78,7 @@ void               empathy_chat_scroll_down          (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,
@@ -84,6 +86,9 @@ void               empathy_chat_correct_word         (EmpathyChat   *chat,
 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__ */