Mercurial > pidgin
diff src/protocols/msn/user.h @ 10451:92d4a25fd33c
[gaim-migrate @ 11717]
This is patch 1090620 from Felipe Contreras to improve the handling of the
Individuals group on MSN and better buddy updates (modified by me to work in
HEAD)
Also included is my fix for bug 1090087 "MSN Groupchat Double Invite Crash",
a few spelling corrections, and make some more strings translatable.
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Thu, 30 Dec 2004 15:55:19 +0000 |
| parents | ab6636c5a136 |
| children | 852b32710df0 |
line wrap: on
line diff
--- a/src/protocols/msn/user.h Thu Dec 30 06:26:53 2004 +0000 +++ b/src/protocols/msn/user.h Thu Dec 30 15:55:19 2004 +0000 @@ -45,6 +45,9 @@ char *store_name; /**< The name stored in the server. */ char *friendly_name; /**< The friendly name. */ + const char *status; /**< The state of the user. */ + gboolean idle; /**< The idle state of the user. */ + struct { char *home; /**< Home phone number. */ @@ -89,6 +92,24 @@ */ void msn_user_destroy(MsnUser *user); + +/** + * Updates the user. + * + * Communicates with the core to update the ui, etc. + * + * @param user The user to update. + */ +void msn_user_update(MsnUser *user); + +/** + * Sets the new state of user. + * + * @param user The user. + * @param state The state string. + */ +void msn_user_set_state(MsnUser *user, const char *state); + /** * Sets the passport account for a user. *
