Mercurial > pidgin
comparison libpurple/prpl.h @ 15523:84b3ab83df35
Use the status API to handle mobileness, and convert AIM to use it. This makes mobile buddies prioritze lower in Perons, and ensures the UI is notified of changes in mobileness. Other protocols to follow.
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 04 Feb 2007 02:31:04 +0000 |
parents | 0b6f337a46d5 |
children | 32c366eeeb99 |
comparison
equal
deleted
inserted
replaced
15522:ccbdf500f13a | 15523:84b3ab83df35 |
---|---|
386 */ | 386 */ |
387 void gaim_prpl_got_user_login_time(GaimAccount *account, const char *name, | 387 void gaim_prpl_got_user_login_time(GaimAccount *account, const char *name, |
388 time_t login_time); | 388 time_t login_time); |
389 | 389 |
390 /** | 390 /** |
391 * Notifies Gaim that a user's status has changed. | 391 * Notifies Gaim that a user's status has been activated. |
392 * | 392 * |
393 * This is meant to be called from protocol plugins. | 393 * This is meant to be called from protocol plugins. |
394 * | 394 * |
395 * @param account The account the user is on. | 395 * @param account The account the user is on. |
396 * @param name The screen name of the user. | 396 * @param name The screen name of the user. |
398 * @param ... A NULL-terminated list of attribute IDs and values, | 398 * @param ... A NULL-terminated list of attribute IDs and values, |
399 * beginning with the value for @a attr_id. | 399 * beginning with the value for @a attr_id. |
400 */ | 400 */ |
401 void gaim_prpl_got_user_status(GaimAccount *account, const char *name, | 401 void gaim_prpl_got_user_status(GaimAccount *account, const char *name, |
402 const char *status_id, ...); | 402 const char *status_id, ...); |
403 | |
404 /** | |
405 * Notifies libpurple that a user's status has been deactivated | |
406 * | |
407 * This is meant to be called from protocol plugins. | |
408 * | |
409 * @param account The account the user is on. | |
410 * @param name The screen name of the user. | |
411 * @param status_id The status ID. | |
412 */ | |
413 void gaim_prpl_got_user_status_deactive(GaimAccount *account, const char *name, | |
414 const char *status_id); | |
415 | |
403 /** | 416 /** |
404 * Informs the server that an account's status changed. | 417 * Informs the server that an account's status changed. |
405 * | 418 * |
406 * @param account The account the user is on. | 419 * @param account The account the user is on. |
407 * @param old_status The previous status. | 420 * @param old_status The previous status. |