ekg2  GIT master
miscicq.h
Idź do dokumentacji tego pliku.
1 #ifndef __ICQ_MISCICQ_H
2 #define __ICQ_MISCICQ_H
3 
4 #define ICQ_STATUS_ONLINE 0x0000
5 #define ICQ_STATUS_AWAY 0x0001
6 #define ICQ_STATUS_NA 0x0005
7 #define ICQ_STATUS_OCCUPIED 0x0011
8 #define ICQ_STATUS_DND 0x0013
9 #define ICQ_STATUS_FFC 0x0020
10 #define ICQ_STATUS_INVISIBLE 0x0100
11 
12 // Status FLAGS (used to determine status of other users)
13 #define ICQ_STATUS_FLAG_ONLINE 0x0000
14 #define ICQ_STATUS_FLAG_AWAY 0x0001
15 #define ICQ_STATUS_FLAG_DND 0x0002
16 #define ICQ_STATUS_FLAG_NA 0x0004
17 #define ICQ_STATUS_FLAG_OCCUPIED 0x0010
18 #define ICQ_STATUS_FLAG_FFC 0x0020
19 #define ICQ_STATUS_FLAG_INVISIBLE 0x0100
20 
21 
22 #define MTYPE_AUTOAWAY 0xE8 // Auto away message
23 #define MTYPE_AUTOBUSY 0xE9 // Auto occupied message
24 #define MTYPE_AUTONA 0xEA // Auto not available message
25 #define MTYPE_AUTODND 0xEB // Auto do not disturb message
26 #define MTYPE_AUTOFFC 0xEC // Auto free for chat message
27 
28 #define STATUSF_WEBAWARE 0x00010000 /* The user is web-aware. */
29 #define STATUSF_DCAUTH 0x10000000 /* The user allows direct connections only upon authorization. */
30 #define STATUSF_DCCONTACT 0x20000000 /* The user allows direct connections only with contacts. */
31 
32 #define STATUS_ICQONLINE 0x00000000
33 #define STATUS_ICQFFC 0x00000020
34 #define STATUS_ICQAWAY 0x00000001
35 #define STATUS_ICQDND 0x00000013
36 #define STATUS_INVISIBLE 0x00000100
37 
38 #define STATUS_ICQOFFLINE 0xffffffff
39 #define STATUSF_ICQOCC 0x00000010
40 #define STATUSF_ICQDND 0x00000002
41 #define STATUSF_ICQNA 0x00000004
42 
43 // Client identification
44 #define CLIENT_ID_STRING "EKG2"
45 #define CLIENT_ID_CODE 0x0001
46 #define CLIENT_VERSION_MAJOR 0x0000
47 #define CLIENT_VERSION_MINOR 0x0002
48 #define CLIENT_VERSION_LESSER 0x0000
49 #define CLIENT_VERSION_BUILD 0x17AB
50 #define CLIENT_DISTRIBUTION 0x00007535
51 #define CLIENT_LANGUAGE "en"
52 #define CLIENT_COUNTRY "us"
53 
54 
55 #endif