const gchar *chat_id,
gboolean chatroom)
{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->exists)
+ return FALSE;
+
return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->exists (
self, account, chat_id, chatroom);
}
gboolean chatroom,
EmpathyMessage *message)
{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->add_message)
+ return;
+
EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->add_message (
self, chat_id, chatroom, message);
}
const gchar *chat_id,
gboolean chatroom)
{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_dates)
+ return NULL;
+
return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_dates (
self, account, chat_id, chatroom);
}
gboolean chatroom,
const gchar *date)
{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_messages_for_date)
+ return NULL;
+
return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_messages_for_date (
self, account, chat_id, chatroom, date);
}
const gchar *chat_id,
gboolean chatroom)
{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_last_messages)
+ return NULL;
+
return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_last_messages (
self, account, chat_id, chatroom);
}
empathy_log_source_get_chats (EmpathyLogSource *self,
McAccount *account)
{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_chats)
+ return NULL;
+
return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_chats (self, account);
}
empathy_log_source_search_new (EmpathyLogSource *self,
const gchar *text)
{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->search_new)
+ return NULL;
+
return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->search_new (self, text);
}
gboolean chatroom,
EmpathyMessage *message)
{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->ack_message)
+ return;
+
EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->ack_message (
self, chat_id, chatroom, message);
}