diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-07-27 23:13:44 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-07-27 23:13:44 +0800 |
commit | 8d2fed5419db02570826e964f4e48f57d81b2dab (patch) | |
tree | cf8832e2d5402f324757c22a20be8d92f68ca1d3 /libempathy/empathy-message.h | |
parent | e3430585a46b0965258237520314b185f4d59ec4 (diff) | |
download | gsoc2013-empathy-8d2fed5419db02570826e964f4e48f57d81b2dab.tar gsoc2013-empathy-8d2fed5419db02570826e964f4e48f57d81b2dab.tar.gz gsoc2013-empathy-8d2fed5419db02570826e964f4e48f57d81b2dab.tar.bz2 gsoc2013-empathy-8d2fed5419db02570826e964f4e48f57d81b2dab.tar.lz gsoc2013-empathy-8d2fed5419db02570826e964f4e48f57d81b2dab.tar.xz gsoc2013-empathy-8d2fed5419db02570826e964f4e48f57d81b2dab.tar.zst gsoc2013-empathy-8d2fed5419db02570826e964f4e48f57d81b2dab.zip |
Add message type in log files. Fixes bug #459579.
2007-07-27 Xavier Claessens <xclaesse@gmail.com>
* libempathy/empathy-message.c:
* libempathy/empathy-message.h:
* libempathy/empathy-log-manager.c: Add message type in log files.
Fixes bug #459579.
* doc/*: Updated.
svn path=/trunk/; revision=205
Diffstat (limited to 'libempathy/empathy-message.h')
-rw-r--r-- | libempathy/empathy-message.h | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/libempathy/empathy-message.h b/libempathy/empathy-message.h index ba6f4c426..5baddd6bb 100644 --- a/libempathy/empathy-message.h +++ b/libempathy/empathy-message.h @@ -58,24 +58,25 @@ typedef enum { EMPATHY_MESSAGE_TYPE_LAST } EmpathyMessageType; -GType empathy_message_get_gtype (void) G_GNUC_CONST; -EmpathyMessage * empathy_message_new (const gchar *body); -EmpathyMessageType empathy_message_get_type (EmpathyMessage *message); -void empathy_message_set_type (EmpathyMessage *message, - EmpathyMessageType type); -EmpathyContact * empathy_message_get_sender (EmpathyMessage *message); -void empathy_message_set_sender (EmpathyMessage *message, - EmpathyContact *contact); -EmpathyContact * empathy_message_get_receiver (EmpathyMessage *message); -void empathy_message_set_receiver (EmpathyMessage *message, - EmpathyContact *contact); -const gchar * empathy_message_get_body (EmpathyMessage *message); -void empathy_message_set_body (EmpathyMessage *message, - const gchar *body); -/* What return value should we have here? */ -EmpathyTime empathy_message_get_timestamp (EmpathyMessage *message); -void empathy_message_set_timestamp (EmpathyMessage *message, - EmpathyTime timestamp); +GType empathy_message_get_gtype (void) G_GNUC_CONST; +EmpathyMessage * empathy_message_new (const gchar *body); +EmpathyMessageType empathy_message_get_type (EmpathyMessage *message); +void empathy_message_set_type (EmpathyMessage *message, + EmpathyMessageType type); +EmpathyContact * empathy_message_get_sender (EmpathyMessage *message); +void empathy_message_set_sender (EmpathyMessage *message, + EmpathyContact *contact); +EmpathyContact * empathy_message_get_receiver (EmpathyMessage *message); +void empathy_message_set_receiver (EmpathyMessage *message, + EmpathyContact *contact); +const gchar * empathy_message_get_body (EmpathyMessage *message); +void empathy_message_set_body (EmpathyMessage *message, + const gchar *body); +EmpathyTime empathy_message_get_timestamp (EmpathyMessage *message); +void empathy_message_set_timestamp (EmpathyMessage *message, + EmpathyTime timestamp); +EmpathyMessageType empathy_message_type_from_str (const gchar *type_str); +const gchar * empathy_message_type_to_str (EmpathyMessageType type); G_END_DECLS |