diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-06-26 21:42:42 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-01 21:19:40 +0800 |
commit | 370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9 (patch) | |
tree | a1414c86d4b3e95265aa974b51efe0bb72db80ad /libempathy/empathy-log-store.h | |
parent | b2691907925acca067dcaa8492619581bcc83480 (diff) | |
download | gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.gz gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.bz2 gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.lz gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.xz gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.zst gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.zip |
Port libempathy to EmpathyAccount
Diffstat (limited to 'libempathy/empathy-log-store.h')
-rw-r--r-- | libempathy/empathy-log-store.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libempathy/empathy-log-store.h b/libempathy/empathy-log-store.h index db698c4b0..5b6a87875 100644 --- a/libempathy/empathy-log-store.h +++ b/libempathy/empathy-log-store.h @@ -25,7 +25,7 @@ #include <glib-object.h> -#include <libmissioncontrol/mc-account.h> +#include <libempathy/empathy-account.h> #include "empathy-message.h" #include "empathy-log-manager.h" @@ -50,23 +50,23 @@ struct _EmpathyLogStoreInterface GTypeInterface parent; const gchar * (*get_name) (EmpathyLogStore *self); - gboolean (*exists) (EmpathyLogStore *self, McAccount *account, + gboolean (*exists) (EmpathyLogStore *self, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom); gboolean (*add_message) (EmpathyLogStore *self, const gchar *chat_id, gboolean chatroom, EmpathyMessage *message, GError **error); - GList * (*get_dates) (EmpathyLogStore *self, McAccount *account, + GList * (*get_dates) (EmpathyLogStore *self, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom); GList * (*get_messages_for_date) (EmpathyLogStore *self, - McAccount *account, const gchar *chat_id, gboolean chatroom, + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date); - GList * (*get_last_messages) (EmpathyLogStore *self, McAccount *account, + GList * (*get_last_messages) (EmpathyLogStore *self, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom); GList * (*get_chats) (EmpathyLogStore *self, - McAccount *account); + EmpathyAccount *account); 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, + GList * (*get_filtered_messages) (EmpathyLogStore *self, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, guint num_messages, EmpathyLogMessageFilter filter, gpointer user_data); }; @@ -75,25 +75,25 @@ GType empathy_log_store_get_type (void) G_GNUC_CONST; const gchar *empathy_log_store_get_name (EmpathyLogStore *self); gboolean empathy_log_store_exists (EmpathyLogStore *self, - McAccount *account, const gchar *chat_id, gboolean chatroom); + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom); gboolean empathy_log_store_add_message (EmpathyLogStore *self, const gchar *chat_id, gboolean chatroom, EmpathyMessage *message, GError **error); GList *empathy_log_store_get_dates (EmpathyLogStore *self, - McAccount *account, const gchar *chat_id, gboolean chatroom); + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom); GList *empathy_log_store_get_messages_for_date (EmpathyLogStore *self, - McAccount *account, const gchar *chat_id, gboolean chatroom, + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date); GList *empathy_log_store_get_last_messages (EmpathyLogStore *self, - McAccount *account, const gchar *chat_id, gboolean chatroom); + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom); GList *empathy_log_store_get_chats (EmpathyLogStore *self, - McAccount *account); + EmpathyAccount *account); 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, + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, guint num_messages, EmpathyLogMessageFilter filter, gpointer user_data); G_END_DECLS |