Mercurial > pidgin.yaz
comparison src/prpl.h @ 11257:90be432e8385
[gaim-migrate @ 13432]
Removed warning from core.
I think you should be able to see others' warning levels in the tooltip,
but I haven't managed to warn myself from any client.
Being able to warn others will be dependent on protocol-specific convo
menus.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 14 Aug 2005 03:50:35 +0000 |
parents | 11e465b55fe6 |
children | fb702c34794b |
comparison
equal
deleted
inserted
replaced
11256:bb0d7b719af2 | 11257:90be432e8385 |
---|---|
233 void (*add_permit)(GaimConnection *, const char *name); | 233 void (*add_permit)(GaimConnection *, const char *name); |
234 void (*add_deny)(GaimConnection *, const char *name); | 234 void (*add_deny)(GaimConnection *, const char *name); |
235 void (*rem_permit)(GaimConnection *, const char *name); | 235 void (*rem_permit)(GaimConnection *, const char *name); |
236 void (*rem_deny)(GaimConnection *, const char *name); | 236 void (*rem_deny)(GaimConnection *, const char *name); |
237 void (*set_permit_deny)(GaimConnection *); | 237 void (*set_permit_deny)(GaimConnection *); |
238 void (*warn)(GaimConnection *, const char *who, gboolean anonymous); | |
239 void (*join_chat)(GaimConnection *, GHashTable *components); | 238 void (*join_chat)(GaimConnection *, GHashTable *components); |
240 void (*reject_chat)(GaimConnection *, GHashTable *components); | 239 void (*reject_chat)(GaimConnection *, GHashTable *components); |
241 char *(*get_chat_name)(GHashTable *components); | 240 char *(*get_chat_name)(GHashTable *components); |
242 void (*chat_invite)(GaimConnection *, int id, | 241 void (*chat_invite)(GaimConnection *, int id, |
243 const char *who, const char *message); | 242 const char *who, const char *message); |
341 * beginning with the value for @a attr_id. | 340 * beginning with the value for @a attr_id. |
342 */ | 341 */ |
343 void gaim_prpl_got_account_status(GaimAccount *account, | 342 void gaim_prpl_got_account_status(GaimAccount *account, |
344 const char *status_id, const char *attr_id, | 343 const char *status_id, const char *attr_id, |
345 ...); | 344 ...); |
346 | |
347 /** | |
348 * Notifies Gaim that an account's warning level has changed. | |
349 * | |
350 * This is meant to be called from protocol plugins. | |
351 * | |
352 * @param account The account the user is on. | |
353 * @param username The user that warned the account. | |
354 * @param level The new warning level. | |
355 */ | |
356 void gaim_prpl_got_account_warning_level(GaimAccount *account, | |
357 const char *username, | |
358 unsigned int level); | |
359 | |
360 | |
361 /** | 345 /** |
362 * Notifies Gaim that a user's idle state and time have changed. | 346 * Notifies Gaim that a user's idle state and time have changed. |
363 * | 347 * |
364 * This is meant to be called from protocol plugins. | 348 * This is meant to be called from protocol plugins. |
365 * | 349 * |
397 * @param ... A NULL-terminated list of attribute IDs and values, | 381 * @param ... A NULL-terminated list of attribute IDs and values, |
398 * beginning with the value for @a attr_id. | 382 * beginning with the value for @a attr_id. |
399 */ | 383 */ |
400 void gaim_prpl_got_user_status(GaimAccount *account, const char *name, | 384 void gaim_prpl_got_user_status(GaimAccount *account, const char *name, |
401 const char *status_id, const char *attr_id, ...); | 385 const char *status_id, const char *attr_id, ...); |
402 | |
403 /** | |
404 * Notifies Gaim that a user's warning level has changed. | |
405 * | |
406 * This is meant to be called from protocol plugins. | |
407 * | |
408 * @param account The account the user is on. | |
409 * @param name The screen name of the user. | |
410 * @param level The new warning level. | |
411 */ | |
412 void gaim_prpl_got_user_warning_level(GaimAccount *account, const char *name, | |
413 unsigned int level); | |
414 | |
415 /** | 386 /** |
416 * Informs the server that an account's status changed. | 387 * Informs the server that an account's status changed. |
417 * | 388 * |
418 * @param account The account the user is on. | 389 * @param account The account the user is on. |
419 * @param old_status The previous status. | 390 * @param old_status The previous status. |