]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-chat-text-view.h
use the 48x48 version of the local-xmpp icon
[empathy.git] / libempathy-gtk / empathy-chat-text-view.h
index 7c4ff343091db3aaab633f77970633fe35156ec4..ce83fd2fa8ab8a4ac8549e0d78f9b61a28192ec0 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef __EMPATHY_CHAT_TEXT_VIEW_H__
 #define __EMPATHY_CHAT_TEXT_VIEW_H__
 
-#include <gtk/gtktextview.h>
+#include <gtk/gtk.h>
 
 #include <libempathy/empathy-contact.h>
 #include <libempathy/empathy-message.h>
@@ -56,7 +56,8 @@ struct _EmpathyChatTextViewClass {
 
        /* <vtable> */
        void (*append_message) (EmpathyChatTextView *view,
-                               EmpathyMessage      *message);
+                               EmpathyMessage      *message,
+                               gboolean             should_highlight);
 };
 
 #define EMPATHY_CHAT_TEXT_VIEW_TAG_CUT "cut"
@@ -68,18 +69,19 @@ struct _EmpathyChatTextViewClass {
 #define EMPATHY_CHAT_TEXT_VIEW_TAG_EVENT "event"
 #define EMPATHY_CHAT_TEXT_VIEW_TAG_LINK "link"
 
-GType                empathy_chat_text_view_get_type         (void) G_GNUC_CONST;
-EmpathyContact *     empathy_chat_text_view_get_last_contact (EmpathyChatTextView *view);
-void                 empathy_chat_text_view_set_only_if_date (EmpathyChatTextView *view,
-                                                             gboolean             only_if_date);
-void                 empathy_chat_text_view_append_body      (EmpathyChatTextView *view,
-                                                             const gchar         *body,
-                                                             const gchar         *tag);
-void                 empathy_chat_text_view_append_spacing   (EmpathyChatTextView *view);
-GtkTextTag *         empathy_chat_text_view_tag_set          (EmpathyChatTextView *view,
-                                                             const gchar         *tag_name,
-                                                             const gchar         *first_property_name,
-                                                             ...);
+GType                empathy_chat_text_view_get_type           (void) G_GNUC_CONST;
+EmpathyContact *     empathy_chat_text_view_get_last_contact   (EmpathyChatTextView *view);
+gint64               empathy_chat_text_view_get_last_timestamp (EmpathyChatTextView *view);
+void                 empathy_chat_text_view_set_only_if_date   (EmpathyChatTextView *view,
+                                                               gboolean             only_if_date);
+void                 empathy_chat_text_view_append_body        (EmpathyChatTextView *view,
+                                                               const gchar         *body,
+                                                               const gchar         *tag);
+void                 empathy_chat_text_view_append_spacing     (EmpathyChatTextView *view);
+GtkTextTag *         empathy_chat_text_view_tag_set            (EmpathyChatTextView *view,
+                                                               const gchar         *tag_name,
+                                                               const gchar         *first_property_name,
+                                                               ...);
 
 G_END_DECLS