aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-log-store.h
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-log-store.h')
-rw-r--r--libempathy/empathy-log-store.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy/empathy-log-store.h b/libempathy/empathy-log-store.h
index c14f7f1c4..6a253b21b 100644
--- a/libempathy/empathy-log-store.h
+++ b/libempathy/empathy-log-store.h
@@ -28,6 +28,7 @@
#include <libmissioncontrol/mc-account.h>
#include "empathy-message.h"
+#include "empathy-log-manager.h"
G_BEGIN_DECLS
@@ -65,6 +66,9 @@ struct _EmpathyLogStoreInterface
GList * (*search_new) (EmpathyLogStore *self, const gchar *text);
void (*ack_message) (EmpathyLogStore *self, const gchar *chat_id,
gboolean chatroom, EmpathyMessage *message);
+ GList * (*get_filtered_messages) (EmpathyLogStore *self, McAccount *account,
+ const gchar *chat_id, gboolean chatroom, guint num_messages,
+ EmpathyLogMessageFilter filter, gpointer user_data);
};
GType empathy_log_store_get_type (void) G_GNUC_CONST;
@@ -88,6 +92,9 @@ GList *empathy_log_store_search_new (EmpathyLogStore *self,
const gchar *text);
void empathy_log_store_ack_message (EmpathyLogStore *self,
const gchar *chat_id, gboolean chatroom, EmpathyMessage *message);
+GList *empathy_log_store_get_filtered_messages (EmpathyLogStore *self,
+ McAccount *account, const gchar *chat_id, gboolean chatroom,
+ guint num_messages, EmpathyLogMessageFilter filter, gpointer user_data);
G_END_DECLS