Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

userinfoconstants.h

00001 /*
00002  * User Info Constants
00003  * External constants that clients will use
00004  *
00005  * Copyright (C) 2001 Barnaby Gray <barnaby@beedesign.co.uk>
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
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 unsigned char Language_table_size = 60;
00036 
00037 static const char* Language_table[Language_table_size] = {
00038   "Unspecified",
00039   "Arabic",
00040   "Bhojpuri",
00041   "Bulgarian",
00042   "Burmese",
00043   "Cantonese",
00044   "Catalan",
00045   "Chinese",
00046   "Croatian",
00047   "Czech",
00048   "Danish",
00049   "Dutch",
00050   "English",
00051   "Esperanto",
00052   "Estonian",
00053   "Farsi",
00054   "Finnish",
00055   "French",
00056   "Gaelic",
00057   "German",
00058   "Greek",
00059   "Hebrew",
00060   "Hindi",
00061   "Hungarian",
00062   "Icelandic",
00063   "Indonesian",
00064   "Italian",
00065   "Japanese",
00066   "Khmer",
00067   "Korean",
00068   "Lao",
00069   "Latvian",
00070   "Lithuanian",
00071   "Malay",
00072   "Norwegian",
00073   "Polish",
00074   "Portuguese",
00075   "Romanian",
00076   "Russian",
00077   "Serbian",
00078   "Slovak",
00079   "Slovenian",
00080   "Somali",
00081   "Spanish",
00082   "Swahili",
00083   "Swedish",
00084   "Tagalog",
00085   "Tatar",
00086   "Thai",
00087   "Turkish",
00088   "Ukrainian",
00089   "Urdu",
00090   "Vietnamese",
00091   "Yiddish",
00092   "Yoruba",
00093   "Taiwanese",
00094   "Afrikaans",
00095   "Persian",
00096   "Albanian",
00097   "Armenian",
00098 };
00099 
00100 
00101 struct Country
00102 {
00103   char *name;          /* Name of the country */
00104   unsigned short code; /* Country code */
00105 };
00106 
00107 static const unsigned short Country_table_size = 243;
00108 
00109 static const struct Country Country_table[Country_table_size] ==
00110 {
00111   { "Unspecified", 0 },
00112   { "Afghanistan", 93 },
00113   { "Albania", 355 },
00114   { "Algeria", 213 },
00115   { "American Samoa", 684 },
00116   { "Andorra", 376 },
00117   { "Angola", 244 },
00118   { "Anguilla", 101 },
00119   { "Antigua", 102 },
00120   { "Argentina", 54 },
00121   { "Armenia", 374 },
00122   { "Aruba", 297 },
00123   { "Ascension Island", 247 },
00124   { "Australia", 61 },
00125   { "Australian Antarctic Territory", 6721 },
00126   { "Austria", 43 },
00127   { "Azerbaijan", 994 },
00128   { "Bahamas", 103 },
00129   { "Bahrain", 973 },
00130   { "Bangladesh", 880 },
00131   { "Barbados", 104 },
00132   { "Barbuda", 120 },
00133   { "Belarus", 375 },
00134   { "Belgium", 32 },
00135   { "Belize", 501 },
00136   { "Benin", 229 },
00137   { "Bermuda", 105 },
00138   { "Bhutan", 975 },
00139   { "Bolivia", 591 },
00140   { "Bosnia and Herzegovina", 387 },
00141   { "Botswana", 267 },
00142   { "Brazil", 55 },
00143   { "British Virgin Islands", 106 },
00144   { "Brunei", 673 },
00145   { "Bulgaria", 359 },
00146   { "Burkina Faso", 226 },
00147   { "Burundi", 257 },
00148   { "Cambodia", 855 },
00149   { "Cameroon", 237 },
00150   { "Canada", 107 },
00151   { "Cape Verde Islands", 238 },
00152   { "Cayman Islands", 108 },
00153   { "Central African Republic", 236 },
00154   { "Chad", 235 },
00155   { "Chile", 56 },
00156   { "China", 86 },
00157   { "Christmas Island", 672 },
00158   { "Cocos-Keeling Islands", 6101 },
00159   { "Colombia", 57 },
00160   { "Comoros", 2691 },
00161   { "Congo", 242 },
00162   { "Cook Islands", 682 },
00163   { "Costa Rica", 506 },
00164   { "Croatia", 385 },
00165   { "Cuba", 53 },
00166   { "Cyprus", 357 },
00167   { "Czech Republic", 42 },
00168   { "Denmark", 45 },
00169   { "Diego Garcia", 246 },
00170   { "Djibouti", 253 },
00171   { "Dominica", 109 },
00172   { "Dominican Republic", 110 },
00173   { "Ecuador", 593 },
00174   { "Egypt", 20 },
00175   { "El Salvador", 503 },
00176   { "Equatorial Guinea", 240 },
00177   { "Eritrea", 291 },
00178   { "Estonia", 372 },
00179   { "Ethiopia", 251 },
00180   { "Faeroe Islands", 298 },
00181   { "Falkland Islands", 500 },
00182   { "Fiji Islands", 679 },
00183   { "Finland", 358 },
00184   { "France", 33 },
00185   { "French Antilles", 5901 },
00186   { "French Guiana", 594 },
00187   { "French Polynesia", 689 },
00188   { "Gabon", 241 },
00189   { "Gambia", 220 },
00190   { "Georgia", 995 },
00191   { "Germany", 49 },
00192   { "Ghana", 233 },
00193   { "Gibraltar", 350 },
00194   { "Greece", 30 },
00195   { "Greenland", 299 },
00196   { "Grenada", 111 },
00197   { "Guadeloupe", 590 },
00198   { "Guam", 671 },
00199   { "Guantanamo Bay", 5399 },
00200   { "Guatemala", 502 },
00201   { "Guinea", 224 },
00202   { "Guinea-Bissau", 245 },
00203   { "Guyana", 592 },
00204   { "Haiti", 509 },
00205   { "Honduras", 504 },
00206   { "Hong Kong", 852 },
00207   { "Hungary", 36 },
00208   { "INMARSAT (Atlantic-East)", 871 },
00209   { "INMARSAT (Atlantic-West)", 874 },
00210   { "INMARSAT (Indian)", 873 },
00211   { "INMARSAT (Pacific)", 872 },
00212   { "INMARSAT", 870 },
00213   { "Iceland", 354 },
00214   { "India", 91 },
00215   { "Indonesia", 62 },
00216   { "International Freephone Service", 800 },
00217   { "Iran", 98 },
00218   { "Iraq", 964 },
00219   { "Ireland", 353 },
00220   { "Israel", 972 },
00221   { "Italy", 39 },
00222   { "Ivory Coast", 225 },
00223   { "Jamaica", 112 },
00224   { "Japan", 81 },
00225   { "Jordan", 962 },
00226   { "Kazakhstan", 705 },
00227   { "Kenya", 254 },
00228   { "Kiribati Republic", 686 },
00229   { "Korea (North)", 850 },
00230   { "Korea (Republic of)", 82 },
00231   { "Kuwait", 965 },
00232   { "Kyrgyz Republic", 706 },
00233   { "Laos", 856 },
00234   { "Latvia", 371 },
00235   { "Lebanon", 961 },
00236   { "Lesotho", 266 },
00237   { "Liberia", 231 },
00238   { "Libya", 218 },
00239   { "Liechtenstein", 4101 },
00240   { "Lithuania", 370 },
00241   { "Luxembourg", 352 },
00242   { "Macau", 853 },
00243   { "Madagascar", 261 },
00244   { "Malawi", 265 },
00245   { "Malaysia", 60 },
00246   { "Maldives", 960 },
00247   { "Mali", 223 },
00248   { "Malta", 356 },
00249   { "Marshall Islands", 692 },
00250   { "Martinique", 596 },
00251   { "Mauritania", 222 },
00252   { "Mauritius", 230 },
00253   { "Mayotte Island", 269 },
00254   { "Mexico", 52 },
00255   { "Micronesia, Federated States of", 691 },
00256   { "Moldova", 373 },
00257   { "Monaco", 377 },
00258   { "Mongolia", 976 },
00259   { "Montserrat", 113 },
00260   { "Morocco", 212 },
00261   { "Mozambique", 258 },
00262   { "Myanmar", 95 },
00263   { "Namibia", 264 },
00264   { "Nauru", 674 },
00265   { "Nepal", 977 },
00266   { "Netherlands Antilles", 599 },
00267   { "Netherlands", 31 },
00268   { "Nevis", 114 },
00269   { "New Caledonia", 687 },
00270   { "New Zealand", 64 },
00271   { "Nicaragua", 505 },
00272   { "Niger", 227 },
00273   { "Nigeria", 234 },
00274   { "Niue", 683 },
00275   { "Norfolk Island", 6722 },
00276   { "Norway", 47 },
00277   { "Oman", 968 },
00278   { "Pakistan", 92 },
00279   { "Palau", 680 },
00280   { "Panama", 507 },
00281   { "Papua New Guinea", 675 },
00282   { "Paraguay", 595 },
00283   { "Peru", 51 },
00284   { "Philippines", 63 },
00285   { "Poland", 48 },
00286   { "Portugal", 351 },
00287   { "Puerto Rico", 121 },
00288   { "Qatar", 974 },
00289   { "Republic of Macedonia", 389 },
00290   { "Reunion Island", 262 },
00291   { "Romania", 40 },
00292   { "Rota Island", 6701 },
00293   { "Russia", 7 },
00294   { "Rwanda", 250 },
00295   { "Saint Lucia", 122 },
00296   { "Saipan Island", 670 },
00297   { "San Marino", 378 },
00298   { "Sao Tome and Principe", 239 },
00299   { "Saudi Arabia", 966 },
00300   { "Senegal Republic", 221 },
00301   { "Seychelle Islands", 248 },
00302   { "Sierra Leone", 232 },
00303   { "Singapore", 65 },
00304   { "Slovak Republic", 4201 },
00305   { "Slovenia", 386 },
00306   { "Solomon Islands", 677 },
00307   { "Somalia", 252 },
00308   { "South Africa", 27 },
00309   { "Spain", 34 },
00310   { "Sri Lanka", 94 },
00311   { "St. Helena", 290 },
00312   { "St. Kitts", 115 },
00313   { "St. Pierre and Miquelon", 508 },
00314   { "St. Vincent and the Grenadines", 116 },
00315   { "Sudan", 249 },
00316   { "Suriname", 597 },
00317   { "Swaziland", 268 },
00318   { "Sweden", 46 },
00319   { "Switzerland", 41 },
00320   { "Syria", 963 },
00321   { "Taiwan, Republic of China", 886 },
00322   { "Tajikistan", 708 },
00323   { "Tanzania", 255 },
00324   { "Thailand", 66 },
00325   { "Tinian Island", 6702 },
00326   { "Togo", 228 },
00327   { "Tokelau", 690 },
00328   { "Tonga", 676 },
00329   { "Trinidad and Tobago", 117 },
00330   { "Tunisia", 216 },
00331   { "Turkey", 90 },
00332   { "Turkmenistan", 709 },
00333   { "Turks and Caicos Islands", 118 },
00334   { "Tuvalu", 688 },
00335   { "USA", 1 },
00336   { "Uganda", 256 },
00337   { "Ukraine", 380 },
00338   { "United Arab Emirates", 971 },
00339   { "United Kingdom", 44 },
00340   { "United States Virgin Islands", 123 },
00341   { "Uruguay", 598 },
00342   { "Uzbekistan", 711 },
00343   { "Vanuatu", 678 },
00344   { "Vatican City", 379 },
00345   { "Venezuela", 58 },
00346   { "Vietnam", 84 },
00347   { "Wallis and Futuna Islands", 681 },
00348   { "Western Samoa", 685 },
00349   { "Yemen", 967 },
00350   { "Yugoslavia", 381 },
00351   { "Zaire", 243 },
00352   { "Zambia", 260 },
00353   { "Zimbabwe", 263 }
00354 };
00355  
00356 }
00357 
00358 #endif

Generated on Tue Jan 15 12:24:36 2002 for libicq2000 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001