aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-log-manager.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-03-03 17:27:13 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-03-03 17:27:13 +0800
commit5428b6b5b42eeffffd246921e6daaa2468853f05 (patch)
tree8cf7fe2921f29189c69a889a6062932276ba4441 /libempathy/empathy-log-manager.h
parentffc2f4b7be9d026b8568d5de040fb3c01d8b46d5 (diff)
downloadgsoc2013-empathy-5428b6b5b42eeffffd246921e6daaa2468853f05.tar
gsoc2013-empathy-5428b6b5b42eeffffd246921e6daaa2468853f05.tar.gz
gsoc2013-empathy-5428b6b5b42eeffffd246921e6daaa2468853f05.tar.bz2
gsoc2013-empathy-5428b6b5b42eeffffd246921e6daaa2468853f05.tar.lz
gsoc2013-empathy-5428b6b5b42eeffffd246921e6daaa2468853f05.tar.xz
gsoc2013-empathy-5428b6b5b42eeffffd246921e6daaa2468853f05.tar.zst
gsoc2013-empathy-5428b6b5b42eeffffd246921e6daaa2468853f05.zip
Revert "Started splitting empathy log code from the log manager to make logging more pluggable. (Jonny Lamb)"
This reverts commit 73948b3c4ddebe5c24b679e7650090128bd35403. From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2546
Diffstat (limited to 'libempathy/empathy-log-manager.h')
-rw-r--r--libempathy/empathy-log-manager.h41
1 files changed, 4 insertions, 37 deletions
diff --git a/libempathy/empathy-log-manager.h b/libempathy/empathy-log-manager.h
index a91655a44..bad014000 100644
--- a/libempathy/empathy-log-manager.h
+++ b/libempathy/empathy-log-manager.h
@@ -19,7 +19,6 @@
* Boston, MA 02111-1307, USA.
*
* Authors: Xavier Claessens <xclaesse@gmail.com>
- * Jonny Lamb <jonny.lamb@collabora.co.uk>
*/
#ifndef __EMPATHY_LOG_MANAGER_H__
@@ -43,7 +42,6 @@ G_BEGIN_DECLS
typedef struct _EmpathyLogManager EmpathyLogManager;
typedef struct _EmpathyLogManagerClass EmpathyLogManagerClass;
typedef struct _EmpathyLogSearchHit EmpathyLogSearchHit;
-typedef struct _EmpathyLogSource EmpathyLogSource;
struct _EmpathyLogManager {
GObject parent;
@@ -62,40 +60,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,
@@ -110,6 +74,8 @@ GList * empathy_log_manager_get_dates (EmpathyLogManager
McAccount *account,
const gchar *chat_id,
gboolean chatroom);
+GList * empathy_log_manager_get_messages_for_file (EmpathyLogManager *manager,
+ const gchar *filename);
GList * empathy_log_manager_get_messages_for_date (EmpathyLogManager *manager,
McAccount *account,
const gchar *chat_id,
@@ -119,13 +85,14 @@ GList * empathy_log_manager_get_last_messages (EmpathyLogManager
McAccount *account,
const gchar *chat_id,
gboolean chatroom);
+GList * empathy_log_manager_get_messages_for_file (EmpathyLogManager *manager,
+ const gchar *filename);
GList * empathy_log_manager_get_chats (EmpathyLogManager *manager,
McAccount *account);
GList * empathy_log_manager_search_new (EmpathyLogManager *manager,
const gchar *text);
void empathy_log_manager_search_free (GList *hits);
gchar * empathy_log_manager_get_date_readable (const gchar *date);
-void empathy_log_manager_search_hit_free (EmpathyLogSearchHit *hit);
G_END_DECLS