| telepathy-logger Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
enum TplLogEntryDirection;
enum TplLogEntrySignalType;
enum TplLogEntryType;
TplLogEntryPriv;
void dispose (GObject *obj);
void finalize (GObject *obj);
gint64 get_timestamp (TplLogEntry *self);
TplLogEntrySignalType get_signal_type (TplLogEntry *self);
guint get_log_id (TplLogEntry *self);
TplLogEntryDirection get_direction (TplLogEntry *self);
TplContact * get_sender (TplLogEntry *self);
TplContact * get_receiver (TplLogEntry *self);
const gchar * get_chat_id (TplLogEntry *self);
const gchar * get_account_path (TplLogEntry *self);
void set_timestamp (TplLogEntry *self,
gint64 data);
void set_signal_type (TplLogEntry *self,
TplLogEntrySignalType data);
void set_log_id (TplLogEntry *self,
guint data);
void set_direction (TplLogEntry *self,
TplLogEntryDirection data);
void set_sender (TplLogEntry *self,
TplContact *data);
void set_receiver (TplLogEntry *self,
TplContact *data);
void set_chat_id (TplLogEntry *self,
const gchar *data);
gboolean equal (TplLogEntry *entry1,
TplLogEntry *entry2);
TplLogEntry * tpl_log_entry_new (guint log_id,
const gchar *chat_id,
TplLogEntryDirection direction);
gint64 tpl_log_entry_get_timestamp (TplLogEntry *self);
TplLogEntrySignalType tpl_log_entry_get_signal_type (TplLogEntry *self);
guint tpl_log_entry_get_log_id (TplLogEntry *self);
const gchar * tpl_log_entry_get_chat_id (TplLogEntry *self);
const gchar * tpl_log_entry_get_account_path (TplLogEntry *self);
TplLogEntryDirection tpl_log_entry_get_direction (TplLogEntry *self);
TplContact * tpl_log_entry_get_sender (TplLogEntry *self);
TplContact * tpl_log_entry_get_receiver (TplLogEntry *self);
void tpl_log_entry_set_timestamp (TplLogEntry *self,
gint64 data);
void tpl_log_entry_set_signal_type (TplLogEntry *self,
TplLogEntrySignalType data);
void tpl_log_entry_set_direction (TplLogEntry *self,
TplLogEntryDirection data);
void tpl_log_entry_set_chat_id (TplLogEntry *self,
const gchar *data);
void tpl_log_entry_set_sender (TplLogEntry *self,
TplContact *data);
void tpl_log_entry_set_receiver (TplLogEntry *self,
TplContact *data);
gboolean tpl_log_entry_equal (TplLogEntry *self,
TplLogEntry *data);
The TPLogger log entry represent a generic log entry, which will be specialied by subclasses of TplLogEntry.
typedef enum
{
TPL_LOG_ENTRY_DIRECTION_NONE = 0,
TPL_LOG_ENTRY_DIRECTION_IN,
TPL_LOG_ENTRY_DIRECTION_OUT
} TplLogEntryDirection;
typedef enum
{
TPL_LOG_ENTRY_SIGNAL_NONE = 0,
TPL_LOG_ENTRY_CHANNEL_TEXT_SIGNAL_SENT,
TPL_LOG_ENTRY_CHANNEL_TEXT_SIGNAL_RECEIVED,
TPL_LOG_ENTRY_CHANNEL_TEXT_SIGNAL_SEND_ERROR,
TPL_LOG_ENTRY_CHANELL_TEXT_SIGNAL_LOST_MESSAGE,
TPL_LOG_ENTRY_CHANNEL_TEXT_SIGNAL_CHAT_STATUS_CHANGED,
TPL_LOG_ENTRY_CHANNEL_SIGNAL_CHANNEL_CLOSED
} TplLogEntrySignalType;
void set_signal_type (TplLogEntry *self,
TplLogEntrySignalType data);
|
|
|
TplLogEntry * tpl_log_entry_new (guint log_id, const gchar *chat_id, TplLogEntryDirection direction);
|
|
|
|
|
|
Returns : |
gint64 tpl_log_entry_get_timestamp (TplLogEntry *self);
|
|
Returns : |
TplLogEntrySignalType tpl_log_entry_get_signal_type (TplLogEntry *self);
|
|
Returns : |
const gchar * tpl_log_entry_get_chat_id (TplLogEntry *self);
|
|
Returns : |
const gchar * tpl_log_entry_get_account_path (TplLogEntry *self);
|
|
Returns : |
TplLogEntryDirection tpl_log_entry_get_direction (TplLogEntry *self);
|
|
Returns : |
TplContact * tpl_log_entry_get_sender (TplLogEntry *self);
|
|
Returns : |
TplContact * tpl_log_entry_get_receiver (TplLogEntry *self);
|
|
Returns : |
void tpl_log_entry_set_timestamp (TplLogEntry *self,
gint64 data);
|
|
|
void tpl_log_entry_set_signal_type (TplLogEntry *self,
TplLogEntrySignalType data);
|
|
|
void tpl_log_entry_set_direction (TplLogEntry *self,
TplLogEntryDirection data);
|
|
|
void tpl_log_entry_set_chat_id (TplLogEntry *self,
const gchar *data);
|
|
|
void tpl_log_entry_set_sender (TplLogEntry *self,
TplContact *data);
|
|
|
void tpl_log_entry_set_receiver (TplLogEntry *self,
TplContact *data);
|
|
|
gboolean tpl_log_entry_equal (TplLogEntry *self, TplLogEntry *data);
|
|
|
|
Returns : |