comparison src/pounce.h @ 13842:a9ff4499d9ce

[gaim-migrate @ 16295] Hopefully improve the typing notification code so it's a lot easier to understand. This also creates a distinction between the signals emitted when receiving GAIM_TYPED and GAIM_NOT_TYPING messages (by adding a gaim-typed signal). And the gaim-not-typing signal should work in all cases. Most of this is stuff I changed last week during work, thanks to Meebo committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 20 Jun 2006 08:17:49 +0000
parents a539caf502b0
children
comparison
equal deleted inserted replaced
13841:f3d4a9902ead 13842:a9ff4499d9ce
33 /** 33 /**
34 * Events that trigger buddy pounces. 34 * Events that trigger buddy pounces.
35 */ 35 */
36 typedef enum 36 typedef enum
37 { 37 {
38 GAIM_POUNCE_NONE = 0x00, /**< No events. */ 38 GAIM_POUNCE_NONE = 0x000, /**< No events. */
39 GAIM_POUNCE_SIGNON = 0x01, /**< The buddy signed on. */ 39 GAIM_POUNCE_SIGNON = 0x001, /**< The buddy signed on. */
40 GAIM_POUNCE_SIGNOFF = 0x02, /**< The buddy signed off. */ 40 GAIM_POUNCE_SIGNOFF = 0x002, /**< The buddy signed off. */
41 GAIM_POUNCE_AWAY = 0x04, /**< The buddy went away. */ 41 GAIM_POUNCE_AWAY = 0x004, /**< The buddy went away. */
42 GAIM_POUNCE_AWAY_RETURN = 0x08, /**< The buddy returned from away. */ 42 GAIM_POUNCE_AWAY_RETURN = 0x008, /**< The buddy returned from away. */
43 GAIM_POUNCE_IDLE = 0x10, /**< The buddy became idle. */ 43 GAIM_POUNCE_IDLE = 0x010, /**< The buddy became idle. */
44 GAIM_POUNCE_IDLE_RETURN = 0x20, /**< The buddy is no longer idle. */ 44 GAIM_POUNCE_IDLE_RETURN = 0x020, /**< The buddy is no longer idle. */
45 GAIM_POUNCE_TYPING = 0x40, /**< The buddy started typing. */ 45 GAIM_POUNCE_TYPING = 0x040, /**< The buddy started typing. */
46 GAIM_POUNCE_TYPING_STOPPED = 0x80, /**< The buddy stopped typing. */ 46 GAIM_POUNCE_TYPED = 0x080, /**< The buddy has entered text. */
47 GAIM_POUNCE_MESSAGE_RECEIVED = 0x100 /**< The buddy sent a message */ 47 GAIM_POUNCE_TYPING_STOPPED = 0x100, /**< The buddy stopped typing. */
48 GAIM_POUNCE_MESSAGE_RECEIVED = 0x200 /**< The buddy sent a message */
48 49
49 } GaimPounceEvent; 50 } GaimPounceEvent;
50 51
51 typedef enum 52 typedef enum
52 { 53 {