Mercurial > pidgin
diff src/conversation.h @ 8158:e283be34aadf
[gaim-migrate @ 8870]
this hasn't crahed on me yet, and lets chats know what your nick is on a per-room basis,
since Jabber is cool enough to let you be different nicks in different rooms
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Wed, 21 Jan 2004 04:55:34 +0000 |
| parents | 77d1252b3803 |
| children | 1d86096ae0f4 |
line wrap: on
line diff
--- a/src/conversation.h Wed Jan 21 04:51:29 2004 +0000 +++ b/src/conversation.h Wed Jan 21 04:55:34 2004 +0000 @@ -223,6 +223,7 @@ char *who; /**< The person who set the topic. */ char *topic; /**< The topic. */ int id; /**< The chat ID. */ + char *nick; /**< Your nick in this chat. */ }; /** @@ -244,9 +245,9 @@ char *title; /**< The window title. */ gboolean logging; /**< The status of logging. */ - + GaimLog *log; /**< This conversation's log */ - + GList *send_history; /**< The send history. */ GString *history; /**< The conversation history. */ @@ -1180,6 +1181,22 @@ void gaim_conv_chat_clear_users(GaimConvChat *chat); /** + * Sets your nickname (used for hilighting) for a chat. + * + * @param chat The chat. + * @param nick The nick. + */ +void gaim_conv_chat_set_nick(GaimConvChat *chat, const char *nick); + +/** + * Gets your nickname (used for hilighting) for a chat. + * + * @param chat The chat. + * @return The nick. + */ +const char *gaim_conv_chat_get_nick(GaimConvChat *chat); + +/** * Finds a chat with the specified chat ID. * * @param gc The gaim_connection.
