diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-02-23 18:47:42 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-02-23 20:45:01 -0500 |
commit | 7957a5d68693fe05a1a19b3b7718fadddc22ffd6 (patch) | |
tree | d897e0ade02f70713af90efea1cc978e7af35b9a /telepathy-logger/entity.h | |
parent | 88fadeebced917cfefbd250ed79096ab0f1f0ecf (diff) | |
download | telepathy-logger-7957a5d68693fe05a1a19b3b7718fadddc22ffd6.tar.gz |
Doc fix
Diffstat (limited to 'telepathy-logger/entity.h')
-rw-r--r-- | telepathy-logger/entity.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/telepathy-logger/entity.h b/telepathy-logger/entity.h index 474e6a9..ba95ee3 100644 --- a/telepathy-logger/entity.h +++ b/telepathy-logger/entity.h @@ -33,36 +33,34 @@ G_BEGIN_DECLS #define TPL_IS_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TPL_TYPE_ENTITY)) #define TPL_ENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TPL_TYPE_ENTITY, TplEntityClass)) -/* TplEntityType: - * +/** + * TplEntityType: * @TPL_ENTITY_UNKNOWN: the current contact's type is unknown * @TPL_ENTITY_CONTACT: the contact's type represents a user (buddy), but not - * the account's owner for which @TPL_ENTITY_SELF is used + * the account's owner for which @TPL_ENTITY_SELF is used * @TPL_ENTITY_ROOM: a named room (#TP_HANDLE_TYPE_ROOM) * @TPL_ENTITY_SELF: the contact's type represents the owner of the account - * whose channel has been logged, as opposed to @TPL_ENTITY_CONTACT which - * represents any other user + * whose channel has been logged, as opposed to @TPL_ENTITY_CONTACT which + * represents any other user */ typedef enum { TPL_ENTITY_UNKNOWN, - /* contact is a user (buddy) */ TPL_ENTITY_CONTACT, - /* contact is a room, meaning that the related message has been sent to - * a room instead of to a 1-1 channel */ TPL_ENTITY_ROOM, - /* contact is both a USER and the account's owner (self-handle) */ TPL_ENTITY_SELF } TplEntityType; +typedef struct _TplEntity TplEntity; typedef struct _TplEntityPriv TplEntityPriv; -typedef struct + +struct _TplEntity { GObject parent; /*Private */ TplEntityPriv *priv; -} TplEntity; +}; GType tpl_entity_get_type (void); |