1
2
3 '''
4 Some static data.
5
6 @var Connections: List of connection types.
7 @var MemoryValueTypes: Types of memory entry values.
8 @var CalendarTypes: Types of calendar entries.
9 @var CalendarValueTypes: Types of calendar entry values.
10 @var TodoPriorities: Todo priorities.
11 @var TodoValueTypes: Types of todo entry values.
12 @var InternationalPrefixes: List of known internaltional prefixes.
13 '''
14 __author__ = 'Michal Čihař'
15 __email__ = 'michal@cihar.com'
16 __license__ = '''
17 Copyright © 2003 - 2009 Michal Čihař
18
19 This program is free software; you can redistribute it and/or modify it
20 under the terms of the GNU General Public License version 2 as published by
21 the Free Software Foundation.
22
23 This program is distributed in the hope that it will be useful, but WITHOUT
24 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
26 more details.
27
28 You should have received a copy of the GNU General Public License along with
29 this program; if not, write to the Free Software Foundation, Inc.,
30 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31 '''
32
33 import sys
34
35 Connections = [
36 'at',
37 'at19200',
38 'at115200',
39 'fbus',
40 'fbusirda',
41 'fbusdlr3',
42 'fbusdku5',
43 'dku2phonet',
44 'dku5fbus2',
45 'fbuspl2303',
46 'mbus',
47 'irdaphonet',
48 'irdaat',
49 'irdaobex',
50 'irdagnapbus',
51 'bluerffbus',
52 'bluefbus',
53 'bluerfphonet',
54 'bluephonet',
55 'blueat',
56 'bluerfat',
57 'blueobex',
58 'bluerfobex',
59 'phonetblue',
60 'fbusblue',
61 'bluerfgnapbus',
62 ]
63
64 MemoryValueTypes = [
65 'Number_General',
66 'Number_Mobile',
67 'Number_Work',
68 'Number_Fax',
69 'Number_Home',
70 'Number_Pager',
71 'Number_Other',
72 'Text_Note',
73 'Text_Postal',
74 'Text_WorkPostal',
75 'Text_Email',
76 'Text_Email2',
77 'Text_URL',
78 'Date',
79 'Caller_Group',
80 'Text_Name',
81 'Text_LastName',
82 'Text_FirstName',
83 'Text_Company',
84 'Text_JobTitle',
85 'Category',
86 'Private',
87 'Text_StreetAddress',
88 'Text_City',
89 'Text_State',
90 'Text_Zip',
91 'Text_Country',
92 'Text_WorkStreetAddress',
93 'Text_WorkCity',
94 'Text_WorkState',
95 'Text_WorkZip',
96 'Text_WorkCountry',
97 'Text_Custom1',
98 'Text_Custom2',
99 'Text_Custom3',
100 'Text_Custom4',
101 'RingtoneID',
102 'PictureID',
103 'Text_UserID',
104 'CallLength',
105 'Text_LUID',
106 'LastModified',
107 'Text_NickName',
108 'Text_FormalName',
109 'PushToTalkID',
110 ]
111
112 CalendarTypes = [
113 'REMINDER',
114 'CALL',
115 'MEETING',
116 'BIRTHDAY',
117 'MEMO',
118 'TRAVEL',
119 'VACATION',
120 'T_ATHL',
121 'T_BALL',
122 'T_CYCL',
123 'T_BUDO',
124 'T_DANC',
125 'T_EXTR',
126 'T_FOOT',
127 'T_GOLF',
128 'T_GYM',
129 'T_HORS',
130 'T_HOCK',
131 'T_RACE',
132 'T_RUGB',
133 'T_SAIL',
134 'T_STRE',
135 'T_SWIM',
136 'T_TENN',
137 'T_TRAV',
138 'T_WINT',
139 'ALARM',
140 'DAILY_ALARM',
141 ]
142
143 CalendarValueTypes = [
144 'START_DATETIME',
145 'END_DATETIME',
146 'TONE_ALARM_DATETIME',
147 'SILENT_ALARM_DATETIME',
148 'RECURRANCE',
149 'TEXT',
150 'DESCRIPTION',
151 'LOCATION',
152 'PHONE',
153 'PRIVATE',
154 'CONTACTID',
155 'REPEAT_DAYOFWEEK',
156 'REPEAT_DAY',
157 'REPEAT_WEEKOFMONTH',
158 'REPEAT_MONTH',
159 'REPEAT_FREQUENCY',
160 'REPEAT_STARTDATE',
161 'REPEAT_STOPDATE',
162 'LUID',
163 'LAST_MODIFIED',
164 ]
165
166 TodoPriorities = [
167 'High',
168 'Medium',
169 'Low',
170 'None',
171 ]
172
173 TodoValueTypes = [
174 'END_DATETIME',
175 'COMPLETED',
176 'ALARM_DATETIME',
177 'SILENT_ALARM_DATETIME',
178 'TEXT',
179 'DESCRIPTION',
180 'LOCATION',
181 'LUID',
182 'PRIVATE',
183 'CATEGORY',
184 'CONTACTID',
185 'PHONE',
186 'LAST_MODIFIED',
187 ]
188
189 InternationalPrefixes = [
190 '+1',
191 '+20',
192
193 '+210',
194 '+211',
195 '+212',
196 '+213',
197 '+214',
198 '+215',
199 '+216',
200 '+217',
201 '+218',
202 '+219',
203
204
205 '+220',
206 '+221',
207 '+222',
208 '+223',
209 '+224',
210 '+225',
211 '+226',
212 '+227',
213 '+228',
214 '+229',
215
216
217 '+230',
218 '+231',
219 '+232',
220 '+233',
221 '+234',
222 '+235',
223 '+236',
224 '+237',
225 '+238',
226 '+239',
227
228
229 '+240',
230 '+241',
231 '+242',
232 '+243',
233 '+244',
234 '+245',
235 '+246',
236 '+247',
237 '+248',
238 '+249',
239
240
241 '+250',
242 '+251',
243 '+252',
244 '+253',
245 '+254',
246 '+255',
247 '+256',
248 '+257',
249 '+258',
250 '+259',
251
252
253 '+260',
254 '+261',
255 '+262',
256 '+263',
257 '+264',
258 '+265',
259 '+266',
260 '+267',
261 '+268',
262 '+269',
263 '+27',
264 '+28',
265
266 '+290',
267 '+291',
268 '+292',
269 '+293',
270 '+294',
271 '+295',
272 '+296',
273 '+297',
274 '+298',
275 '+299',
276 '+30',
277 '+31',
278 '+32',
279 '+33',
280 '+34',
281
282 '+350',
283 '+351',
284 '+352',
285 '+353',
286 '+354',
287 '+355',
288 '+356',
289 '+357',
290 '+358',
291 '+359',
292 '+36',
293
294 '+370',
295 '+371',
296 '+372',
297 '+373',
298 '+374',
299 '+375',
300 '+376',
301 '+377',
302 '+378',
303 '+379',
304
305
306 '+380',
307 '+381',
308 '+382',
309 '+383',
310 '+384',
311 '+385',
312 '+386',
313 '+387',
314 '+388',
315 '+389',
316 '+39',
317 '+40',
318 '+41',
319
320 '+420',
321 '+421',
322 '+422',
323 '+423',
324 '+424',
325 '+425',
326 '+426',
327 '+427',
328 '+428',
329 '+429',
330 '+43',
331 '+44',
332 '+45',
333 '+46',
334 '+47',
335 '+48',
336 '+49',
337
338 '+500',
339 '+501',
340 '+502',
341 '+503',
342 '+504',
343 '+505',
344 '+506',
345 '+507',
346 '+508',
347 '+509',
348 '+51',
349 '+52',
350 '+53',
351 '+54',
352 '+55',
353 '+56',
354 '+57',
355 '+58',
356
357 '+590',
358 '+591',
359 '+592',
360 '+593',
361 '+594',
362 '+595',
363 '+596',
364 '+597',
365 '+598',
366 '+599',
367 '+60',
368 '+61',
369 '+62',
370 '+63',
371 '+64',
372 '+65',
373 '+66',
374
375 '+670',
376 '+671',
377 '+672',
378 '+673',
379 '+674',
380 '+675',
381 '+676',
382 '+677',
383 '+678',
384 '+679',
385
386
387 '+680',
388 '+681',
389 '+682',
390 '+683',
391 '+684',
392 '+685',
393 '+686',
394 '+687',
395 '+688',
396 '+689',
397
398
399 '+690',
400 '+691',
401 '+692',
402 '+693',
403 '+694',
404 '+695',
405 '+696',
406 '+697',
407 '+698',
408 '+699',
409 '+7',
410
411 '+800',
412 '+801',
413 '+802',
414 '+803',
415 '+804',
416 '+805',
417 '+806',
418 '+807',
419 '+808',
420 '+809',
421 '+81',
422 '+82',
423 '+83',
424 '+84',
425
426 '+850',
427 '+851',
428 '+852',
429 '+853',
430 '+854',
431 '+855',
432 '+856',
433 '+857',
434 '+858',
435 '+859',
436 '+86',
437
438 '+870',
439 '+871',
440 '+872',
441 '+873',
442 '+874',
443 '+875',
444 '+876',
445 '+877',
446 '+878',
447 '+879',
448
449
450 '+880',
451 '+881',
452 '+882',
453 '+883',
454 '+884',
455 '+885',
456 '+886',
457 '+887',
458 '+888',
459 '+889',
460 '+89',
461 '+90',
462 '+91',
463 '+92',
464 '+93',
465 '+94',
466 '+95',
467
468 '+960',
469 '+961',
470 '+962',
471 '+963',
472 '+964',
473 '+965',
474 '+966',
475 '+967',
476 '+968',
477 '+969',
478
479
480 '+970',
481 '+971',
482 '+972',
483 '+973',
484 '+974',
485 '+975',
486 '+976',
487 '+977',
488 '+978',
489 '+979',
490 '+98',
491
492 '+990',
493 '+991',
494 '+992',
495 '+993',
496 '+994',
497 '+995',
498 '+996',
499 '+997',
500 '+998',
501 '+999',
502 ]
503