diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-26 16:50:54 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-26 16:53:53 +0200 |
commit | 91a3bab9e60220efb4eb75c9ecd4ab304bdf2525 (patch) | |
tree | a444138209bc81914f3ea22745ae1041f618e14a | |
parent | 0a4a89e965a5136ec1e829060e2ad696e5084a72 (diff) |
log-entry-text: move TpLogEntryText{Class} to -internal.h
-rw-r--r-- | telepathy-logger/log-entry-text-internal.h | 24 | ||||
-rw-r--r-- | telepathy-logger/log-entry-text.h | 27 |
2 files changed, 26 insertions, 25 deletions
diff --git a/telepathy-logger/log-entry-text-internal.h b/telepathy-logger/log-entry-text-internal.h index f2d573e27..06fe71c7f 100644 --- a/telepathy-logger/log-entry-text-internal.h +++ b/telepathy-logger/log-entry-text-internal.h @@ -26,6 +26,30 @@ G_BEGIN_DECLS +typedef enum +{ + TPL_LOG_ENTRY_TEXT_SIGNAL_NONE = 0, + TPL_LOG_ENTRY_TEXT_SIGNAL_SENT, + TPL_LOG_ENTRY_TEXT_SIGNAL_RECEIVED, + TPL_LOG_ENTRY_TEXT_SIGNAL_SEND_ERROR, + TPL_LOG_ENTRY_TEXT_SIGNAL_LOST_MESSAGE, + TPL_LOG_ENTRY_TEXT_SIGNAL_CHAT_STATUS_CHANGED, + TPL_LOG_ENTRY_SIGNAL_CHANNEL_CLOSED +} TplLogEntryTextSignalType; + +struct _TplLogEntryText +{ + TplLogEntry parent; + + /* Private */ + TplLogEntryTextPriv *priv; +}; + +struct _TplLogEntryTextClass +{ + TplLogEntryClass parent_class; +}; + TplLogEntryText * _tpl_log_entry_text_new (const gchar* log_id, const gchar *account_path, TplLogEntryDirection direction); diff --git a/telepathy-logger/log-entry-text.h b/telepathy-logger/log-entry-text.h index db447becd..d1c1fe39e 100644 --- a/telepathy-logger/log-entry-text.h +++ b/telepathy-logger/log-entry-text.h @@ -36,33 +36,10 @@ G_BEGIN_DECLS #define TPL_IS_LOG_ENTRY_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TPL_TYPE_LOG_ENTRY_TEXT)) #define TPL_LOG_ENTRY_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TPL_TYPE_LOG_ENTRY_TEXT, TplLogEntryTextClass)) -typedef enum -{ - TPL_LOG_ENTRY_TEXT_SIGNAL_NONE = 0, - TPL_LOG_ENTRY_TEXT_SIGNAL_SENT, - TPL_LOG_ENTRY_TEXT_SIGNAL_RECEIVED, - TPL_LOG_ENTRY_TEXT_SIGNAL_SEND_ERROR, - TPL_LOG_ENTRY_TEXT_SIGNAL_LOST_MESSAGE, - TPL_LOG_ENTRY_TEXT_SIGNAL_CHAT_STATUS_CHANGED, - TPL_LOG_ENTRY_SIGNAL_CHANNEL_CLOSED -} TplLogEntryTextSignalType; - - +typedef struct _TplLogEntryText TplLogEntryText; +typedef struct _TplLogEntryTextClass TplLogEntryTextClass; typedef struct _TplLogEntryTextPriv TplLogEntryTextPriv; -typedef struct -{ - TplLogEntry parent; - - /* Private */ - TplLogEntryTextPriv *priv; -} TplLogEntryText; - -typedef struct -{ - TplLogEntryClass parent_class; -} TplLogEntryTextClass; - GType tpl_log_entry_text_get_type (void); const gchar *tpl_log_entry_text_get_message (TplLogEntryText *self); |