aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-log-manager.h
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-03-06 19:52:48 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-03-06 19:52:48 +0800
commit6d3c3b4e7ae6c3d9fc7328607e903938d5679395 (patch)
tree25581679fc147a853de4ab104f798c9adc194b1b /libempathy/empathy-log-manager.h
parent282a13ac548f033339396dcc0fae8e76e8103cbd (diff)
downloadgsoc2013-empathy-6d3c3b4e7ae6c3d9fc7328607e903938d5679395.tar
gsoc2013-empathy-6d3c3b4e7ae6c3d9fc7328607e903938d5679395.tar.gz
gsoc2013-empathy-6d3c3b4e7ae6c3d9fc7328607e903938d5679395.tar.bz2
gsoc2013-empathy-6d3c3b4e7ae6c3d9fc7328607e903938d5679395.tar.lz
gsoc2013-empathy-6d3c3b4e7ae6c3d9fc7328607e903938d5679395.tar.xz
gsoc2013-empathy-6d3c3b4e7ae6c3d9fc7328607e903938d5679395.tar.zst
gsoc2013-empathy-6d3c3b4e7ae6c3d9fc7328607e903938d5679395.zip
Replaced get_last_messages with get_filtered_messages.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2605
Diffstat (limited to 'libempathy/empathy-log-manager.h')
-rw-r--r--libempathy/empathy-log-manager.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy/empathy-log-manager.h b/libempathy/empathy-log-manager.h
index 4ec2c9019..f6a9290bd 100644
--- a/libempathy/empathy-log-manager.h
+++ b/libempathy/empathy-log-manager.h
@@ -72,6 +72,9 @@ struct _EmpathyLogSearchHit
gchar *date;
};
+typedef gboolean (*EmpathyLogMessageFilter) (EmpathyMessage *message,
+ gpointer user_data);
+
GType empathy_log_manager_get_type (void) G_GNUC_CONST;
EmpathyLogManager *empathy_log_manager_dup_singleton (void);
gboolean empathy_log_manager_add_message (EmpathyLogManager *manager,
@@ -84,8 +87,9 @@ GList *empathy_log_manager_get_dates (EmpathyLogManager *manager,
GList *empathy_log_manager_get_messages_for_date (EmpathyLogManager *manager,
McAccount *account, const gchar *chat_id, gboolean chatroom,
const gchar *date);
-GList *empathy_log_manager_get_last_messages (EmpathyLogManager *manager,
- McAccount *account, const gchar *chat_id, gboolean chatroom);
+GList *empathy_log_manager_get_filtered_messages (EmpathyLogManager *manager,
+ McAccount *account, const gchar *chat_id, gboolean chatroom,
+ guint num_messages, EmpathyLogMessageFilter filter, gpointer user_data);
GList *empathy_log_manager_get_chats (EmpathyLogManager *manager,
McAccount *account);
GList *empathy_log_manager_search_new (EmpathyLogManager *manager,