empathy r2583 - trunk/libempathy



Author: xclaesse
Date: Fri Mar  6 11:51:36 2009
New Revision: 2583
URL: http://svn.gnome.org/viewvc/empathy?rev=2583&view=rev

Log:
Added ack_message function to EmpathyLogSource interface.

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/libempathy/empathy-log-source-empathy.c
   trunk/libempathy/empathy-log-source.c
   trunk/libempathy/empathy-log-source.h

Modified: trunk/libempathy/empathy-log-source-empathy.c
==============================================================================
--- trunk/libempathy/empathy-log-source-empathy.c	(original)
+++ trunk/libempathy/empathy-log-source-empathy.c	Fri Mar  6 11:51:36 2009
@@ -694,4 +694,5 @@
   iface->get_messages_for_date = log_source_empathy_get_messages_for_date;
   iface->get_chats = log_source_empathy_get_chats;
   iface->search_new = log_source_empathy_search_new;
+  iface->ack_message = NULL;
 }

Modified: trunk/libempathy/empathy-log-source.c
==============================================================================
--- trunk/libempathy/empathy-log-source.c	(original)
+++ trunk/libempathy/empathy-log-source.c	Fri Mar  6 11:51:36 2009
@@ -110,3 +110,13 @@
 {
   return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->search_new (self, text);
 }
+
+void
+empathy_log_source_ack_message (EmpathyLogSource *self,
+                                const gchar *chat_id,
+                                gboolean chatroom,
+                                EmpathyMessage *message)
+{
+  EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->ack_message (
+      self, chat_id, chatroom, message);
+}

Modified: trunk/libempathy/empathy-log-source.h
==============================================================================
--- trunk/libempathy/empathy-log-source.h	(original)
+++ trunk/libempathy/empathy-log-source.h	Fri Mar  6 11:51:36 2009
@@ -62,6 +62,8 @@
   GList * (*get_chats) (EmpathyLogSource *self,
             McAccount         *account);
   GList * (*search_new) (EmpathyLogSource *self, const gchar *text);
+  void (*ack_message) (EmpathyLogSource *self, const gchar *chat_id,
+      gboolean chatroom, EmpathyMessage *message);
 };
 
 GType empathy_log_source_get_type (void) G_GNUC_CONST;
@@ -81,6 +83,8 @@
     McAccount *account);
 GList *empathy_log_source_search_new (EmpathyLogSource *self,
     const gchar *text);
+void empathy_log_source_ack_message (EmpathyLogSource *self,
+    const gchar *chat_id, gboolean chatroom, EmpathyMessage *message);
 
 G_END_DECLS
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]