00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef USERINFOCONSTANTS_H
00024 #define USERINFOCONSTANTS_H
00025
00026 namespace ICQ2000
00027 {
00028
00029 enum Sex {
00030 SEX_UNSPECIFIED = 0,
00031 SEX_FEMALE = 1,
00032 SEX_MALE = 2
00033 };
00034
00035 static const signed char Timezone_unknown = -100;
00036
00037 static const unsigned char Language_table_size = 60;
00038
00039 static const char* const Language_table[Language_table_size] = {
00040 "Unspecified",
00041 "Arabic",
00042 "Bhojpuri",
00043 "Bulgarian",
00044 "Burmese",
00045 "Cantonese",
00046 "Catalan",
00047 "Chinese",
00048 "Croatian",
00049 "Czech",
00050 "Danish",
00051 "Dutch",
00052 "English",
00053 "Esperanto",
00054 "Estonian",
00055 "Farsi",
00056 "Finnish",
00057 "French",
00058 "Gaelic",
00059 "German",
00060 "Greek",
00061 "Hebrew",
00062 "Hindi",
00063 "Hungarian",
00064 "Icelandic",
00065 "Indonesian",
00066 "Italian",
00067 "Japanese",
00068 "Khmer",
00069 "Korean",
00070 "Lao",
00071 "Latvian",
00072 "Lithuanian",
00073 "Malay",
00074 "Norwegian",
00075 "Polish",
00076 "Portuguese",
00077 "Romanian",
00078 "Russian",
00079 "Serbian",
00080 "Slovak",
00081 "Slovenian",
00082 "Somali",
00083 "Spanish",
00084 "Swahili",
00085 "Swedish",
00086 "Tagalog",
00087 "Tatar",
00088 "Thai",
00089 "Turkish",
00090 "Ukrainian",
00091 "Urdu",
00092 "Vietnamese",
00093 "Yiddish",
00094 "Yoruba",
00095 "Taiwanese",
00096 "Afrikaans",
00097 "Persian",
00098 "Albanian",
00099 "Armenian",
00100 };
00101
00102
00103 struct Country
00104 {
00105 char *name;
00106 unsigned short code;
00107 };
00108
00109 static const unsigned short Country_table_size = 243;
00110
00111 static const struct Country Country_table[Country_table_size] =
00112 {
00113 { "Unspecified", 0 },
00114 { "Afghanistan", 93 },
00115 { "Albania", 355 },
00116 { "Algeria", 213 },
00117 { "American Samoa", 684 },
00118 { "Andorra", 376 },
00119 { "Angola", 244 },
00120 { "Anguilla", 101 },
00121 { "Antigua", 102 },
00122 { "Argentina", 54 },
00123 { "Armenia", 374 },
00124 { "Aruba", 297 },
00125 { "Ascension Island", 247 },
00126 { "Australia", 61 },
00127 { "Australian Antarctic Territory", 6721 },
00128 { "Austria", 43 },
00129 { "Azerbaijan", 994 },
00130 { "Bahamas", 103 },
00131 { "Bahrain", 973 },
00132 { "Bangladesh", 880 },
00133 { "Barbados", 104 },
00134 { "Barbuda", 120 },
00135 { "Belarus", 375 },
00136 { "Belgium", 32 },
00137 { "Belize", 501 },
00138 { "Benin", 229 },
00139 { "Bermuda", 105 },
00140 { "Bhutan", 975 },
00141 { "Bolivia", 591 },
00142 { "Bosnia and Herzegovina", 387 },
00143 { "Botswana", 267 },
00144 { "Brazil", 55 },
00145 { "British Virgin Islands", 106 },
00146 { "Brunei", 673 },
00147 { "Bulgaria", 359 },
00148 { "Burkina Faso", 226 },
00149 { "Burundi", 257 },
00150 { "Cambodia", 855 },
00151 { "Cameroon", 237 },
00152 { "Canada", 107 },
00153 { "Cape Verde Islands", 238 },
00154 { "Cayman Islands", 108 },
00155 { "Central African Republic", 236 },
00156 { "Chad", 235 },
00157 { "Chile", 56 },
00158 { "China", 86 },
00159 { "Christmas Island", 672 },
00160 { "Cocos-Keeling Islands", 6101 },
00161 { "Colombia", 57 },
00162 { "Comoros", 2691 },
00163 { "Congo", 242 },
00164 { "Cook Islands", 682 },
00165 { "Costa Rica", 506 },
00166 { "Croatia", 385 },
00167 { "Cuba", 53 },
00168 { "Cyprus", 357 },
00169 { "Czech Republic", 42 },
00170 { "Denmark", 45 },
00171 { "Diego Garcia", 246 },
00172 { "Djibouti", 253 },
00173 { "Dominica", 109 },
00174 { "Dominican Republic", 110 },
00175 { "Ecuador", 593 },
00176 { "Egypt", 20 },
00177 { "El Salvador", 503 },
00178 { "Equatorial Guinea", 240 },
00179 { "Eritrea", 291 },
00180 { "Estonia", 372 },
00181 { "Ethiopia", 251 },
00182 { "Faeroe Islands", 298 },
00183 { "Falkland Islands", 500 },
00184 { "Fiji Islands", 679 },
00185 { "Finland", 358 },
00186 { "France", 33 },
00187 { "French Antilles", 5901 },
00188 { "French Guiana", 594 },
00189 { "French Polynesia", 689 },
00190 { "Gabon", 241 },
00191 { "Gambia", 220 },
00192 { "Georgia", 995 },
00193 { "Germany", 49 },
00194 { "Ghana", 233 },
00195 { "Gibraltar", 350 },
00196 { "Greece", 30 },
00197 { "Greenland", 299 },
00198 { "Grenada", 111 },
00199 { "Guadeloupe", 590 },
00200 { "Guam", 671 },
00201 { "Guantanamo Bay", 5399 },
00202 { "Guatemala", 502 },
00203 { "Guinea", 224 },
00204 { "Guinea-Bissau", 245 },
00205 { "Guyana", 592 },
00206 { "Haiti", 509 },
00207 { "Honduras", 504 },
00208 { "Hong Kong", 852 },
00209 { "Hungary", 36 },
00210 { "INMARSAT (Atlantic-East)", 871 },
00211 { "INMARSAT (Atlantic-West)", 874 },
00212 { "INMARSAT (Indian)", 873 },
00213 { "INMARSAT (Pacific)", 872 },
00214 { "INMARSAT", 870 },
00215 { "Iceland", 354 },
00216 { "India", 91 },
00217 { "Indonesia", 62 },
00218 { "International Freephone Service", 800 },
00219 { "Iran", 98 },
00220 { "Iraq", 964 },
00221 { "Ireland", 353 },
00222 { "Israel", 972 },
00223 { "Italy", 39 },
00224 { "Ivory Coast", 225 },
00225 { "Jamaica", 112 },
00226 { "Japan", 81 },
00227 { "Jordan", 962 },
00228 { "Kazakhstan", 705 },
00229 { "Kenya", 254 },
00230 { "Kiribati Republic", 686 },
00231 { "Korea (North)", 850 },
00232 { "Korea (Republic of)", 82 },
00233 { "Kuwait", 965 },
00234 { "Kyrgyz Republic", 706 },
00235 { "Laos", 856 },
00236 { "Latvia", 371 },
00237 { "Lebanon", 961 },
00238 { "Lesotho", 266 },
00239 { "Liberia", 231 },
00240 { "Libya", 218 },
00241 { "Liechtenstein", 4101 },
00242 { "Lithuania", 370 },
00243 { "Luxembourg", 352 },
00244 { "Macau", 853 },
00245 { "Madagascar", 261 },
00246 { "Malawi", 265 },
00247 { "Malaysia", 60 },
00248 { "Maldives", 960 },
00249 { "Mali", 223 },
00250 { "Malta", 356 },
00251 { "Marshall Islands", 692 },
00252 { "Martinique", 596 },
00253 { "Mauritania", 222 },
00254 { "Mauritius", 230 },
00255 { "Mayotte Island", 269 },
00256 { "Mexico", 52 },
00257 { "Micronesia, Federated States of", 691 },
00258 { "Moldova", 373 },
00259 { "Monaco", 377 },
00260 { "Mongolia", 976 },
00261 { "Montserrat", 113 },
00262 { "Morocco", 212 },
00263 { "Mozambique", 258 },
00264 { "Myanmar", 95 },
00265 { "Namibia", 264 },
00266 { "Nauru", 674 },
00267 { "Nepal", 977 },
00268 { "Netherlands Antilles", 599 },
00269 { "Netherlands", 31 },
00270 { "Nevis", 114 },
00271 { "New Caledonia", 687 },
00272 { "New Zealand", 64 },
00273 { "Nicaragua", 505 },
00274 { "Niger", 227 },
00275 { "Nigeria", 234 },
00276 { "Niue", 683 },
00277 { "Norfolk Island", 6722 },
00278 { "Norway", 47 },
00279 { "Oman", 968 },
00280 { "Pakistan", 92 },
00281 { "Palau", 680 },
00282 { "Panama", 507 },
00283 { "Papua New Guinea", 675 },
00284 { "Paraguay", 595 },
00285 { "Peru", 51 },
00286 { "Philippines", 63 },
00287 { "Poland", 48 },
00288 { "Portugal", 351 },
00289 { "Puerto Rico", 121 },
00290 { "Qatar", 974 },
00291 { "Republic of Macedonia", 389 },
00292 { "Reunion Island", 262 },
00293 { "Romania", 40 },
00294 { "Rota Island", 6701 },
00295 { "Russia", 7 },
00296 { "Rwanda", 250 },
00297 { "Saint Lucia", 122 },
00298 { "Saipan Island", 670 },
00299 { "San Marino", 378 },
00300 { "Sao Tome and Principe", 239 },
00301 { "Saudi Arabia", 966 },
00302 { "Senegal Republic", 221 },
00303 { "Seychelle Islands", 248 },
00304 { "Sierra Leone", 232 },
00305 { "Singapore", 65 },
00306 { "Slovak Republic", 4201 },
00307 { "Slovenia", 386 },
00308 { "Solomon Islands", 677 },
00309 { "Somalia", 252 },
00310 { "South Africa", 27 },
00311 { "Spain", 34 },
00312 { "Sri Lanka", 94 },
00313 { "St. Helena", 290 },
00314 { "St. Kitts", 115 },
00315 { "St. Pierre and Miquelon", 508 },
00316 { "St. Vincent and the Grenadines", 116 },
00317 { "Sudan", 249 },
00318 { "Suriname", 597 },
00319 { "Swaziland", 268 },
00320 { "Sweden", 46 },
00321 { "Switzerland", 41 },
00322 { "Syria", 963 },
00323 { "Taiwan, Republic of China", 886 },
00324 { "Tajikistan", 708 },
00325 { "Tanzania", 255 },
00326 { "Thailand", 66 },
00327 { "Tinian Island", 6702 },
00328 { "Togo", 228 },
00329 { "Tokelau", 690 },
00330 { "Tonga", 676 },
00331 { "Trinidad and Tobago", 117 },
00332 { "Tunisia", 216 },
00333 { "Turkey", 90 },
00334 { "Turkmenistan", 709 },
00335 { "Turks and Caicos Islands", 118 },
00336 { "Tuvalu", 688 },
00337 { "USA", 1 },
00338 { "Uganda", 256 },
00339 { "Ukraine", 380 },
00340 { "United Arab Emirates", 971 },
00341 { "United Kingdom", 44 },
00342 { "United States Virgin Islands", 123 },
00343 { "Uruguay", 598 },
00344 { "Uzbekistan", 711 },
00345 { "Vanuatu", 678 },
00346 { "Vatican City", 379 },
00347 { "Venezuela", 58 },
00348 { "Vietnam", 84 },
00349 { "Wallis and Futuna Islands", 681 },
00350 { "Western Samoa", 685 },
00351 { "Yemen", 967 },
00352 { "Yugoslavia", 381 },
00353 { "Zaire", 243 },
00354 { "Zambia", 260 },
00355 { "Zimbabwe", 263 }
00356 };
00357
00358 static const unsigned char Interests_table_size = 51;
00359 static const unsigned char Interests_offset = 100;
00360
00361 static const char* const Interests_table[Interests_table_size] = {
00362 "Art",
00363 "Cars",
00364 "Celebrity Fans",
00365 "Collections",
00366 "Computers",
00367 "Culture",
00368 "Fitness",
00369 "Games",
00370 "Hobbies",
00371 "ICQ - Help",
00372 "Internet",
00373 "Lifestyle",
00374 "Movies and TV",
00375 "Music",
00376 "Outdoors",
00377 "Parenting",
00378 "Pets and Animals",
00379 "Religion",
00380 "Science",
00381 "Skills",
00382 "Sports",
00383 "Web Design",
00384 "Ecology",
00385 "News and Media",
00386 "Government",
00387 "Business",
00388 "Mystics",
00389 "Travel",
00390 "Astronomy",
00391 "Space",
00392 "Clothing",
00393 "Parties",
00394 "Women",
00395 "Social science",
00396 "60's",
00397 "70's",
00398 "80's",
00399 "50's",
00400 "Finance and Corporate",
00401 "Entertainment",
00402 "Consumer Electronics",
00403 "Retail Stores",
00404 "Health and Beauty",
00405 "Media",
00406 "Household Products",
00407 "Mail Order Catalog",
00408 "Business Services",
00409 "Audio and Visual",
00410 "Sporting and Athletics",
00411 "Publishing",
00412 "Home Automation"
00413 };
00414
00415 struct BackgroundRecord
00416 {
00417 char *name;
00418 unsigned short code;
00419 };
00420
00421 static const unsigned short Background_table_size = 8;
00422
00423 static const struct BackgroundRecord Background_table[Background_table_size] =
00424 {
00425 { "University", 303 },
00426 { "High school", 301 },
00427 { "College", 302 },
00428 { "Elementary School", 300 },
00429 { "Millitary", 304 },
00430 { "Other", 399 },
00431 { "Past Organization", 306 },
00432 { "Past Work Place", 305 }
00433 };
00434
00435 enum AgeRange {
00436 range_NoRange = 0,
00437 range_18_22 = 1,
00438 range_23_29 = 2,
00439 range_30_39 = 3,
00440 range_40_49 = 4,
00441 range_50_59 = 5,
00442 range_60_above = 6
00443 };
00444
00445 static const char* const AgeRange_text[] = {
00446 "none",
00447 "18-22",
00448 "23-29",
00449 "30-39",
00450 "40-49",
00451 "50-59",
00452 "60-above"
00453 };
00454
00455 }
00456
00457 #endif