| 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, 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, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom); GList * empathy_log_store_get_messages_for_date (EmpathyLogStore *self, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date); GList * empathy_log_store_get_last_messages (EmpathyLogStore *self, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom); GList * empathy_log_store_get_chats (EmpathyLogStore *self, 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, EmpathyAccount *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, 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, EmpathyAccount *account,
const gchar *chat_id, gboolean chatroom);
GList * (*get_messages_for_date) (EmpathyLogStore *self,
EmpathyAccount *account, const gchar *chat_id, gboolean chatroom,
const gchar *date);
GList * (*get_last_messages) (EmpathyLogStore *self, EmpathyAccount *account,
const gchar *chat_id, gboolean chatroom);
GList * (*get_chats) (EmpathyLogStore *self,
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, EmpathyAccount *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, EmpathyAccount *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, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom);
|
|
|
|
|
|
|
|
Returns : |
GList * empathy_log_store_get_messages_for_date (EmpathyLogStore *self, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date);
|
|
|
|
|
|
|
|
|
|
Returns : |
GList * empathy_log_store_get_last_messages (EmpathyLogStore *self, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom);
|
|
|
|
|
|
|
|
Returns : |
GList * empathy_log_store_get_chats (EmpathyLogStore *self, EmpathyAccount *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, EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, guint num_messages, EmpathyLogMessageFilter filter, gpointer user_data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |