comparison plugins/gaim-remote/remote.h @ 10395:b4b9dabdd7c7

[gaim-migrate @ 11624] Some whitespace fixes, a compile warning fix, and add a "logout" option to gaim-remote committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 17 Dec 2004 23:30:38 +0000
parents 204f5d66a863
children
comparison
equal deleted inserted replaced
10394:45a0a07e8b25 10395:b4b9dabdd7c7
31 #define CUI_TYPE_USER 3 31 #define CUI_TYPE_USER 3
32 #define CUI_TYPE_CONN 4 32 #define CUI_TYPE_CONN 4
33 #define CUI_TYPE_BUDDY 5 /* BUDDY_LIST, i.e., both groups and buddies */ 33 #define CUI_TYPE_BUDDY 5 /* BUDDY_LIST, i.e., both groups and buddies */
34 #define CUI_TYPE_MESSAGE 6 34 #define CUI_TYPE_MESSAGE 6
35 #define CUI_TYPE_CHAT 7 35 #define CUI_TYPE_CHAT 7
36 #define CUI_TYPE_REMOTE 8 36 #define CUI_TYPE_REMOTE 8
37 /* This is used to send commands to other UI's, 37 /* This is used to send commands to other UI's,
38 * like "Open new conversation" or "send IM". 38 * like "Open new conversation" or "send IM".
39 * Even though there's much redundancy with the 39 * Even though there's much redundancy with the
40 * other CUI_TYPES, we're better keeping this stuff 40 * other CUI_TYPES, we're better keeping this stuff
41 * separate because it's intended use is so different */ 41 * separate because it's intended use is so different */
42 42
43 #define CUI_META_LIST 1 43 #define CUI_META_LIST 1
44 /* 1 is always list; this is ignored by the core. 44 /* 1 is always list; this is ignored by the core.
45 If we move to TCP this can be a keepalive */ 45 If we move to TCP this can be a keepalive */
46 #define CUI_META_QUIT 2 46 #define CUI_META_QUIT 2
47 #define CUI_META_DETACH 3 47 #define CUI_META_DETACH 3
48 /* you don't need to send this, you can just close 48 /* you don't need to send this, you can just close
49 the socket. the core will understand. */ 49 the socket. the core will understand. */
50 #define CUI_META_PING 4 50 #define CUI_META_PING 4
51 #define CUI_META_ACK 5 51 #define CUI_META_ACK 5
52 52
53 #define CUI_PLUGIN_LIST 1 53 #define CUI_PLUGIN_LIST 1
54 #define CUI_PLUGIN_LOAD 2 54 #define CUI_PLUGIN_LOAD 2
55 #define CUI_PLUGIN_UNLOAD 3 55 #define CUI_PLUGIN_UNLOAD 3
56 56
59 #define CUI_USER_REMOVE 3 59 #define CUI_USER_REMOVE 3
60 #define CUI_USER_MODIFY 4 /* this handles moving them in the list too */ 60 #define CUI_USER_MODIFY 4 /* this handles moving them in the list too */
61 #define CUI_USER_SIGNON 5 61 #define CUI_USER_SIGNON 5
62 #define CUI_USER_AWAY 6 62 #define CUI_USER_AWAY 6
63 #define CUI_USER_BACK 7 63 #define CUI_USER_BACK 7
64 #define CUI_USER_LOGOUT 8
64 65
65 #define CUI_CONN_LIST 1 66 #define CUI_CONN_LIST 1
66 #define CUI_CONN_PROGRESS 2 67 #define CUI_CONN_PROGRESS 2
67 #define CUI_CONN_ONLINE 3 68 #define CUI_CONN_ONLINE 3
68 #define CUI_CONN_OFFLINE 4 /* this may send a "reason" for why it was killed */ 69 #define CUI_CONN_OFFLINE 4 /* this may send a "reason" for why it was killed */
69 70
70 #define CUI_BUDDY_LIST 1 71 #define CUI_BUDDY_LIST 1
71 #define CUI_BUDDY_STATE 2 72 #define CUI_BUDDY_STATE 2
72 /* notifies the UI of state changes; UI can use it to 73 /* notifies the UI of state changes; UI can use it to
73 request the current status from the core */ 74 request the current status from the core */
74 #define CUI_BUDDY_ADD 3 75 #define CUI_BUDDY_ADD 3
75 #define CUI_BUDDY_REMOVE 4 76 #define CUI_BUDDY_REMOVE 4
76 #define CUI_BUDDY_MODIFY 5 77 #define CUI_BUDDY_MODIFY 5