comparison src/protocols/jabber/message.h @ 13706:3eb7a5f0de82

[gaim-migrate @ 16110] support for JEP-0085 (chat state notifications) Basically, this gains us the ability to send/receive the fact that a user has typed, and then stopped. This has passed the WorksForMe(TM) test suite...lemme know if you notice anything weird. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 01 May 2006 01:22:18 +0000
parents bd77abf05a12
children a9ff4499d9ce
comparison
equal deleted inserted replaced
13705:2f7b356812bc 13706:3eb7a5f0de82
46 char *xhtml; 46 char *xhtml;
47 char *password; 47 char *password;
48 char *error; 48 char *error;
49 char *thread_id; 49 char *thread_id;
50 enum { 50 enum {
51 JABBER_MESSAGE_EVENT_COMPOSING = 1 << 1 51 JM_TS_NONE = 0,
52 } events; 52 JM_TS_JEP_0022 = 0x1,
53 JM_TS_JEP_0085 = 0x2
54 } typing_style;
55 enum {
56 JM_STATE_ACTIVE,
57 JM_STATE_COMPOSING,
58 JM_STATE_PAUSED,
59 JM_STATE_INACTIVE,
60 JM_STATE_GONE
61 } chat_state;
53 GList *etc; 62 GList *etc;
54 } JabberMessage; 63 } JabberMessage;
55 64
56 void jabber_message_free(JabberMessage *jm); 65 void jabber_message_free(JabberMessage *jm);
57 66