diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-03-06 19:51:58 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-03-06 19:51:58 +0800 |
commit | 79697ab1fc4f90646bc3495514d6e30585a2f97f (patch) | |
tree | 1dcea2b1e0d93f5db992084c449635bfcc961876 /libempathy/empathy-log-source.h | |
parent | d53b22689f12218cfa3b5f72fb936dd01dd08885 (diff) | |
download | gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.gz gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.bz2 gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.lz gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.xz gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.tar.zst gsoc2013-empathy-79697ab1fc4f90646bc3495514d6e30585a2f97f.zip |
Only write messages to one specified log source, hardcoded at the moment.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2590
Diffstat (limited to 'libempathy/empathy-log-source.h')
-rw-r--r-- | libempathy/empathy-log-source.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libempathy/empathy-log-source.h b/libempathy/empathy-log-source.h index c00571813..03d920c28 100644 --- a/libempathy/empathy-log-source.h +++ b/libempathy/empathy-log-source.h @@ -51,8 +51,8 @@ struct _EmpathyLogSourceInterface const gchar * (*get_name) (EmpathyLogSource *self); gboolean (*exists) (EmpathyLogSource *self, McAccount *account, const gchar *chat_id, gboolean chatroom); - void (*add_message) (EmpathyLogSource *self, const gchar *chat_id, - gboolean chatroom, EmpathyMessage *message); + gboolean (*add_message) (EmpathyLogSource *self, const gchar *chat_id, + gboolean chatroom, EmpathyMessage *message, GError **error); GList * (*get_dates) (EmpathyLogSource *self, McAccount *account, const gchar *chat_id, gboolean chatroom); GList * (*get_messages_for_date) (EmpathyLogSource *self, @@ -72,8 +72,9 @@ GType empathy_log_source_get_type (void) G_GNUC_CONST; const gchar *empathy_log_source_get_name (EmpathyLogSource *self); gboolean empathy_log_source_exists (EmpathyLogSource *self, McAccount *account, const gchar *chat_id, gboolean chatroom); -void empathy_log_source_add_message (EmpathyLogSource *self, - const gchar *chat_id, gboolean chatroom, EmpathyMessage *message); +gboolean empathy_log_source_add_message (EmpathyLogSource *self, + const gchar *chat_id, gboolean chatroom, EmpathyMessage *message, + GError **error); GList *empathy_log_source_get_dates (EmpathyLogSource *self, McAccount *account, const gchar *chat_id, gboolean chatroom); GList *empathy_log_source_get_messages_for_date (EmpathyLogSource *self, |