Mercurial > pidgin.yaz
comparison src/prpl.h @ 1772:896432d66303
[gaim-migrate @ 1782]
remove OPT_USR_KEEPALIVE; add OPT_PROTO_UNIQUE_CHATNAME for Jabber. other things that need to be implemented still.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 30 Apr 2001 01:58:24 +0000 |
parents | 68eddf56f419 |
children | c649b63382b7 |
comparison
equal
deleted
inserted
replaced
1771:213607e89598 | 1772:896432d66303 |
---|---|
34 #define PROTO_VGATE 7 | 34 #define PROTO_VGATE 7 |
35 #define PROTO_JABBER 8 | 35 #define PROTO_JABBER 8 |
36 #define PROTO_NAPSTER 9 | 36 #define PROTO_NAPSTER 9 |
37 #define PROTO_ZEPHYR 10 | 37 #define PROTO_ZEPHYR 10 |
38 | 38 |
39 #define OPT_PROTO_HTML 0x00000001 | 39 /* These should all be stuff that some plugins can do and others can't */ |
40 #define OPT_PROTO_CORRECT_TIME 0x00000002 | 40 /* TOC/Oscar send HTML-encoded messages; most other protocols don't */ |
41 /* there should be more here eventually... These should all be stuff that other | 41 #define OPT_PROTO_HTML 0x00000001 |
42 * plugins can't do (for example, TOC and Oscar and Jabber can do HTML in messages, | 42 /* TOC/Oscar have signon time, and the server's time needs to be adjusted to match |
43 * but IRC etc can't, so TOC/Oscar/Jabber have _HTML set but not IRC. */ | 43 * your computer's time. We wouldn't need this if everyone used NTP. */ |
44 #define OPT_PROTO_CORRECT_TIME 0x00000002 | |
45 /* Jabber lets you choose what name you want for chat. So it shouldn't be pulling | |
46 * the alias for when you're in chat; it gets annoying. */ | |
47 #define OPT_PROTO_UNIQUE_CHATNAME 0x00000004 | |
48 /* IRC, Jabber let you have chat room topics */ | |
49 #define OPT_PROTO_CHAT_TOPIC 0x00000008 | |
50 /* IRC and Zephyr don't require passwords, so there's no need for a password prompt */ | |
51 #define OPT_PROTO_NO_PASSWORD 0x00000010 | |
52 /* ICQ, Yahoo, others? let you send offline messages */ | |
53 #define OPT_PROTO_OFFLINE 0x00000020 | |
44 | 54 |
45 #define GAIM_AWAY_CUSTOM "Custom" | 55 #define GAIM_AWAY_CUSTOM "Custom" |
46 | 56 |
47 typedef void (*proto_init)(struct prpl *); | 57 typedef void (*proto_init)(struct prpl *); |
48 | 58 |