diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-03-06 19:51:32 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-03-06 19:51:32 +0800 |
commit | b51a83c1297f7ba3f550d8f31439b2d5b4e86c99 (patch) | |
tree | 5f67ad4ac3867947d7937d96c0068a170d75a4ba /libempathy/empathy-log-manager.h | |
parent | 255122bf7551636726abccf659e68a9c9e1b6bd7 (diff) | |
download | gsoc2013-empathy-b51a83c1297f7ba3f550d8f31439b2d5b4e86c99.tar gsoc2013-empathy-b51a83c1297f7ba3f550d8f31439b2d5b4e86c99.tar.gz gsoc2013-empathy-b51a83c1297f7ba3f550d8f31439b2d5b4e86c99.tar.bz2 gsoc2013-empathy-b51a83c1297f7ba3f550d8f31439b2d5b4e86c99.tar.lz gsoc2013-empathy-b51a83c1297f7ba3f550d8f31439b2d5b4e86c99.tar.xz gsoc2013-empathy-b51a83c1297f7ba3f550d8f31439b2d5b4e86c99.tar.zst gsoc2013-empathy-b51a83c1297f7ba3f550d8f31439b2d5b4e86c99.zip |
Made EmpathyLogSource an interface and EmpathyLogSourceEmpathy extend it.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2582
Diffstat (limited to 'libempathy/empathy-log-manager.h')
-rw-r--r-- | libempathy/empathy-log-manager.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libempathy/empathy-log-manager.h b/libempathy/empathy-log-manager.h index b8f86efd7..fa9e39b7b 100644 --- a/libempathy/empathy-log-manager.h +++ b/libempathy/empathy-log-manager.h @@ -50,7 +50,6 @@ G_BEGIN_DECLS typedef struct _EmpathyLogManager EmpathyLogManager; typedef struct _EmpathyLogManagerClass EmpathyLogManagerClass; typedef struct _EmpathyLogSearchHit EmpathyLogSearchHit; -typedef struct _EmpathyLogSource EmpathyLogSource; struct _EmpathyLogManager { @@ -72,24 +71,6 @@ struct _EmpathyLogSearchHit gchar *date; }; -struct _EmpathyLogSource -{ - gboolean (*exists) (EmpathyLogManager *manager, McAccount *account, - const gchar *chat_id, gboolean chatroom); - void (*add_message) (EmpathyLogManager *manager, const gchar *chat_id, - gboolean chatroom, EmpathyMessage *message); - GList * (*get_dates) (EmpathyLogManager *manager, McAccount *account, - const gchar *chat_id, gboolean chatroom); - GList * (*get_messages_for_date) (EmpathyLogManager *manager, - McAccount *account, const gchar *chat_id, gboolean chatroom, - const gchar *date); - GList * (*get_last_messages) (EmpathyLogManager *manager, McAccount *account, - const gchar *chat_id, gboolean chatroom); - GList * (*get_chats) (EmpathyLogManager *manager, - McAccount *account); - GList * (*search_new) (EmpathyLogManager *manager, const gchar *text); -}; - GType empathy_log_manager_get_type (void) G_GNUC_CONST; EmpathyLogManager *empathy_log_manager_dup_singleton (void); void empathy_log_manager_add_message (EmpathyLogManager *manager, |