|  |  |  | libempathy Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Known Implementations | ||||
#define EMPATHY_LOG_STORE_GET_INTERFACE (inst) EmpathyLogStore; EmpathyLogStoreInterface; const gchar * empathy_log_store_get_name (EmpathyLogStore *self); gboolean empathy_log_store_exists (EmpathyLogStore *self, McAccount *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); GList * empathy_log_store_get_messages_for_date (EmpathyLogStore *self, McAccount *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); GList * empathy_log_store_get_chats (EmpathyLogStore *self, McAccount *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, guint num_messages, EmpathyLogMessageFilter filter, gpointer user_data);
typedef struct {
  GTypeInterface parent;
  const gchar * (*get_name) (EmpathyLogStore *self);
  gboolean (*exists) (EmpathyLogStore *self, McAccount *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,
      const gchar *chat_id, gboolean chatroom);
  GList * (*get_messages_for_date) (EmpathyLogStore *self,
      McAccount *account, const gchar *chat_id, gboolean chatroom,
      const gchar *date);
  GList * (*get_last_messages) (EmpathyLogStore *self, McAccount *account,
      const gchar *chat_id, gboolean chatroom);
  GList * (*get_chats) (EmpathyLogStore *self,
            McAccount         *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,
      const gchar *chat_id, gboolean chatroom, guint num_messages,
      EmpathyLogMessageFilter filter, gpointer user_data);
} EmpathyLogStoreInterface;
const gchar * empathy_log_store_get_name (EmpathyLogStore *self);
| 
 | |
| Returns : | 
gboolean empathy_log_store_exists (EmpathyLogStore *self, McAccount *account, const gchar *chat_id, gboolean chatroom);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
gboolean empathy_log_store_add_message (EmpathyLogStore *self, const gchar *chat_id, gboolean chatroom, EmpathyMessage *message, GError **error);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
GList * empathy_log_store_get_dates (EmpathyLogStore *self, McAccount *account, const gchar *chat_id, gboolean chatroom);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
GList * empathy_log_store_get_messages_for_date (EmpathyLogStore *self, McAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
GList * empathy_log_store_get_last_messages (EmpathyLogStore *self, McAccount *account, const gchar *chat_id, gboolean chatroom);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
GList * empathy_log_store_get_chats (EmpathyLogStore *self, McAccount *account);
| 
 | |
| 
 | |
| Returns : | 
GList * empathy_log_store_search_new (EmpathyLogStore *self, const gchar *text);
| 
 | |
| 
 | |
| Returns : | 
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, guint num_messages, EmpathyLogMessageFilter filter, gpointer user_data);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : |