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