|
1 /* |
|
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef FMTXDATA_ |
|
21 #define FMTXDATA_ |
|
22 // DATA TYPES |
|
23 |
|
24 /** |
|
25 * Possible FM Tx states |
|
26 * |
|
27 @publishedPartner |
|
28 @released |
|
29 */ |
|
30 enum TFmTxState |
|
31 { |
|
32 // Unknown HW error condition |
|
33 EFmTxStateUnknown = 0x0, |
|
34 // Transmitter HW is disabled |
|
35 EFmTxStateOff = 0x1, |
|
36 // Transmitter HW is enabled. Audio is currently routed to the transmitter. |
|
37 EFmTxStateActive = 0x2, |
|
38 // Transmitter HW is enabled, in standby mode. Audio is not currently |
|
39 // routed to the transmitter. |
|
40 EFmTxStateInactive = 0x4, |
|
41 // Transmitter HW is disabled. This occurs after a |
|
42 // timeout period has elapsed, from EFmTxStateInactive mode. |
|
43 EFmTxStatePowerSaveInactivity = 0x8, |
|
44 // Transmitter HW is disabled. This occurs after a |
|
45 // mutually exclusive accessory has been attached. |
|
46 // When accessory is detached, transition to EFmTxStateOff will occur. |
|
47 EFmTxStatePowerSaveAccessory = 0x10, |
|
48 // Transmitter HW is enabled, and is scanning for the next clear frequency. |
|
49 EFmTxStateScanning = 0x20 |
|
50 }; |
|
51 |
|
52 /** |
|
53 * Frequency range & step size (kHz) |
|
54 @publishedPartner |
|
55 @released |
|
56 */ |
|
57 struct TFmTxFrequencyRange |
|
58 { |
|
59 TInt iMinFrequency; |
|
60 TInt iMaxFrequency; |
|
61 TInt iStepSize; |
|
62 }; |
|
63 |
|
64 /** |
|
65 * Clear frequency search |
|
66 @publishedPartner |
|
67 @released |
|
68 */ |
|
69 const TInt KClearFrequencyArrayMax = 10; |
|
70 typedef TFixedArray<TUint32,KClearFrequencyArrayMax> TClearFrequencyArray; |
|
71 |
|
72 /** |
|
73 * RDS Programme Service |
|
74 @publishedPartner |
|
75 @released |
|
76 */ |
|
77 const TInt KMaxRdsPsLength = 8; |
|
78 typedef TBuf<KMaxRdsPsLength> TRdsProgrammeService; |
|
79 |
|
80 #ifndef EXCLUDE_RDS_PROGRAMME_TYPE_DEFS |
|
81 /** |
|
82 * RDS (& RBDS) Programme Types. There are some differences in numbering of programme types |
|
83 * between these two standards. |
|
84 @publishedPartner |
|
85 @released |
|
86 */ |
|
87 typedef TInt TRdsProgrammeType; |
|
88 |
|
89 /** |
|
90 * |
|
91 * @publishedPartner |
|
92 * @released |
|
93 */ |
|
94 const TRdsProgrammeType KRdsPtyNone = 0; |
|
95 /** |
|
96 * |
|
97 * @publishedPartner |
|
98 * @released |
|
99 */ |
|
100 const TRdsProgrammeType KRdsPtyNews = 1; |
|
101 /** |
|
102 * |
|
103 * @publishedPartner |
|
104 * @released |
|
105 */ |
|
106 const TRdsProgrammeType KRdsPtyCurrentAffairs = 2; |
|
107 /** |
|
108 * |
|
109 * @publishedPartner |
|
110 * @released |
|
111 */ |
|
112 const TRdsProgrammeType KRdsPtyInformation = 3; |
|
113 /** |
|
114 * |
|
115 * @publishedPartner |
|
116 * @released |
|
117 */ |
|
118 const TRdsProgrammeType KRdsPtySport = 4; |
|
119 /** |
|
120 * |
|
121 * @publishedPartner |
|
122 * @released |
|
123 */ |
|
124 const TRdsProgrammeType KRdsPtyEducation = 5; |
|
125 /** |
|
126 * |
|
127 * @publishedPartner |
|
128 * @released |
|
129 */ |
|
130 const TRdsProgrammeType KRdsPtyDrama = 6; |
|
131 /** |
|
132 * |
|
133 * @publishedPartner |
|
134 * @released |
|
135 */ |
|
136 const TRdsProgrammeType KRdsPtyCulture = 7; |
|
137 /** |
|
138 * |
|
139 * @publishedPartner |
|
140 * @released |
|
141 */ |
|
142 const TRdsProgrammeType KRdsPtyScience = 8; |
|
143 /** |
|
144 * |
|
145 * @publishedPartner |
|
146 * @released |
|
147 */ |
|
148 const TRdsProgrammeType KRdsPtyVariedSpeech = 9; |
|
149 /** |
|
150 * |
|
151 * @publishedPartner |
|
152 * @released |
|
153 */ |
|
154 const TRdsProgrammeType KRdsPtyPopMusic = 10; |
|
155 /** |
|
156 * |
|
157 * @publishedPartner |
|
158 * @released |
|
159 */ |
|
160 const TRdsProgrammeType KRdsPtyRockMusic = 11; |
|
161 /** |
|
162 * |
|
163 * @publishedPartner |
|
164 * @released |
|
165 */ |
|
166 const TRdsProgrammeType KRdsPtyEasyListening = 12; |
|
167 /** |
|
168 * |
|
169 * @publishedPartner |
|
170 * @released |
|
171 */ |
|
172 const TRdsProgrammeType KRdsPtyLightClassical = 13; |
|
173 /** |
|
174 * |
|
175 * @publishedPartner |
|
176 * @released |
|
177 */ |
|
178 const TRdsProgrammeType KRdsPtySeriousClassical = 14; |
|
179 /** |
|
180 * |
|
181 * @publishedPartner |
|
182 * @released |
|
183 */ |
|
184 const TRdsProgrammeType KRdsPtyOtherMusic = 15; |
|
185 /** |
|
186 * |
|
187 * @publishedPartner |
|
188 * @released |
|
189 */ |
|
190 const TRdsProgrammeType KRdsPtyWeather = 16; |
|
191 /** |
|
192 * |
|
193 * @publishedPartner |
|
194 * @released |
|
195 */ |
|
196 const TRdsProgrammeType KRdsPtyFinance = 17; |
|
197 /** |
|
198 * |
|
199 * @publishedPartner |
|
200 * @released |
|
201 */ |
|
202 const TRdsProgrammeType KRdsPtyChildrensProgrammes = 18; |
|
203 /** |
|
204 * |
|
205 * @publishedPartner |
|
206 * @released |
|
207 */ |
|
208 const TRdsProgrammeType KRdsPtySocialAffairs = 19; |
|
209 /** |
|
210 * |
|
211 * @publishedPartner |
|
212 * @released |
|
213 */ |
|
214 const TRdsProgrammeType KRdsPtyReligion = 20; |
|
215 /** |
|
216 * |
|
217 * @publishedPartner |
|
218 * @released |
|
219 */ |
|
220 const TRdsProgrammeType KRdsPtyPhoneIn = 21; |
|
221 /** |
|
222 * |
|
223 * @publishedPartner |
|
224 * @released |
|
225 */ |
|
226 const TRdsProgrammeType KRdsPtyTravel = 22; |
|
227 /** |
|
228 * |
|
229 * @publishedPartner |
|
230 * @released |
|
231 */ |
|
232 const TRdsProgrammeType KRdsPtyLeisure = 23; |
|
233 /** |
|
234 * |
|
235 * @publishedPartner |
|
236 * @released |
|
237 */ |
|
238 const TRdsProgrammeType KRdsPtyJazzMusic = 24; |
|
239 /** |
|
240 * |
|
241 * @publishedPartner |
|
242 * @released |
|
243 */ |
|
244 const TRdsProgrammeType KRdsPtyCountryMusic = 25; |
|
245 /** |
|
246 * |
|
247 * @publishedPartner |
|
248 * @released |
|
249 */ |
|
250 const TRdsProgrammeType KRdsPtyNationalMusic = 26; |
|
251 /** |
|
252 * |
|
253 * @publishedPartner |
|
254 * @released |
|
255 */ |
|
256 const TRdsProgrammeType KRdsPtyOldiesMusic = 27; |
|
257 /** |
|
258 * |
|
259 * @publishedPartner |
|
260 * @released |
|
261 */ |
|
262 const TRdsProgrammeType KRdsPtyFolkMusic = 28; |
|
263 /** |
|
264 * |
|
265 * @publishedPartner |
|
266 * @released |
|
267 */ |
|
268 const TRdsProgrammeType KRdsPtyDocumentary = 29; |
|
269 /** |
|
270 * |
|
271 * @publishedPartner |
|
272 * @released |
|
273 */ |
|
274 const TRdsProgrammeType KRdsPtyAlarmTest = 30; |
|
275 /** |
|
276 * |
|
277 * @publishedPartner |
|
278 * @released |
|
279 */ |
|
280 const TRdsProgrammeType KRdsPtyAlarm = 31; |
|
281 |
|
282 /** |
|
283 * |
|
284 * @publishedPartner |
|
285 * @released |
|
286 */ |
|
287 const TRdsProgrammeType KRbdsPtyNone = 0; |
|
288 /** |
|
289 * |
|
290 * @publishedPartner |
|
291 * @released |
|
292 */ |
|
293 const TRdsProgrammeType KRbdsPtyNews = 1; |
|
294 /** |
|
295 * |
|
296 * @publishedPartner |
|
297 * @released |
|
298 */ |
|
299 const TRdsProgrammeType KRbdsPtyInformation = 2; |
|
300 /** |
|
301 * |
|
302 * @publishedPartner |
|
303 * @released |
|
304 */ |
|
305 const TRdsProgrammeType KRbdsPtySports = 3; |
|
306 /** |
|
307 * |
|
308 * @publishedPartner |
|
309 * @released |
|
310 */ |
|
311 const TRdsProgrammeType KRbdsPtyTalk = 4; |
|
312 /** |
|
313 * |
|
314 * @publishedPartner |
|
315 * @released |
|
316 */ |
|
317 const TRdsProgrammeType KRbdsPtyRock = 5; |
|
318 /** |
|
319 * |
|
320 * @publishedPartner |
|
321 * @released |
|
322 */ |
|
323 const TRdsProgrammeType KRbdsPtyClassicRock = 6; |
|
324 /** |
|
325 * |
|
326 * @publishedPartner |
|
327 * @released |
|
328 */ |
|
329 const TRdsProgrammeType KRbdsPtyAdultHits = 7; |
|
330 /** |
|
331 * |
|
332 * @publishedPartner |
|
333 * @released |
|
334 */ |
|
335 const TRdsProgrammeType KRbdsPtySoftRock = 8; |
|
336 /** |
|
337 * |
|
338 * @publishedPartner |
|
339 * @released |
|
340 */ |
|
341 const TRdsProgrammeType KRbdsPtyTop40 = 9; |
|
342 /** |
|
343 * |
|
344 * @publishedPartner |
|
345 * @released |
|
346 */ |
|
347 const TRdsProgrammeType KRbdsPtyCountry = 10; |
|
348 /** |
|
349 * |
|
350 * @publishedPartner |
|
351 * @released |
|
352 */ |
|
353 const TRdsProgrammeType KRbdsPtyOldies = 11; |
|
354 /** |
|
355 * |
|
356 * @publishedPartner |
|
357 * @released |
|
358 */ |
|
359 const TRdsProgrammeType KRbdsPtySoft = 12; |
|
360 /** |
|
361 * |
|
362 * @publishedPartner |
|
363 * @released |
|
364 */ |
|
365 const TRdsProgrammeType KRbdsPtyNostalgia = 13; |
|
366 /** |
|
367 * |
|
368 * @publishedPartner |
|
369 * @released |
|
370 */ |
|
371 const TRdsProgrammeType KRbdsPtyJazz = 14; |
|
372 /** |
|
373 * |
|
374 * @publishedPartner |
|
375 * @released |
|
376 */ |
|
377 const TRdsProgrammeType KRbdsPtyClassical = 15; |
|
378 /** |
|
379 * |
|
380 * @publishedPartner |
|
381 * @released |
|
382 */ |
|
383 const TRdsProgrammeType KRbdsPtyRhythmAndBlues = 16; |
|
384 /** |
|
385 * |
|
386 * @publishedPartner |
|
387 * @released |
|
388 */ |
|
389 const TRdsProgrammeType KRbdsPtySoftRhythmAndBlues = 17; |
|
390 /** |
|
391 * |
|
392 * @publishedPartner |
|
393 * @released |
|
394 */ |
|
395 const TRdsProgrammeType KRbdsPtyLanguage = 18; |
|
396 /** |
|
397 * |
|
398 * @publishedPartner |
|
399 * @released |
|
400 */ |
|
401 const TRdsProgrammeType KRbdsPtyReligiousMusic = 19; |
|
402 /** |
|
403 * |
|
404 * @publishedPartner |
|
405 * @released |
|
406 */ |
|
407 const TRdsProgrammeType KRbdsPtyReligiousTalk = 20; |
|
408 /** |
|
409 * |
|
410 * @publishedPartner |
|
411 * @released |
|
412 */ |
|
413 const TRdsProgrammeType KRbdsPtyPersonality = 21; |
|
414 /** |
|
415 * |
|
416 * @publishedPartner |
|
417 * @released |
|
418 */ |
|
419 const TRdsProgrammeType KRbdsPtyPublic = 22; |
|
420 /** |
|
421 * |
|
422 * @publishedPartner |
|
423 * @released |
|
424 */ |
|
425 const TRdsProgrammeType KRbdsPtyCollege = 23; |
|
426 /** |
|
427 * |
|
428 * @publishedPartner |
|
429 * @released |
|
430 */ |
|
431 const TRdsProgrammeType KRbdsPtyUnassigned1 = 24; |
|
432 /** |
|
433 * |
|
434 * @publishedPartner |
|
435 * @released |
|
436 */ |
|
437 const TRdsProgrammeType KRbdsPtyUnassigned2 = 25; |
|
438 /** |
|
439 * |
|
440 * @publishedPartner |
|
441 * @released |
|
442 */ |
|
443 const TRdsProgrammeType KRbdsPtyUnassigned3 = 26; |
|
444 /** |
|
445 * |
|
446 * @publishedPartner |
|
447 * @released |
|
448 */ |
|
449 const TRdsProgrammeType KRbdsPtyUnassigned4 = 27; |
|
450 /** |
|
451 * |
|
452 * @publishedPartner |
|
453 * @released |
|
454 */ |
|
455 const TRdsProgrammeType KRbdsPtyUnassigned5 = 28; |
|
456 /** |
|
457 * |
|
458 * @publishedPartner |
|
459 * @released |
|
460 */ |
|
461 const TRdsProgrammeType KRbdsPtyWeather = 29; |
|
462 /** |
|
463 * |
|
464 * @publishedPartner |
|
465 * @released |
|
466 */ |
|
467 const TRdsProgrammeType KRbdsPtyEmergencyTest = 30; |
|
468 /** |
|
469 * |
|
470 * @publishedPartner |
|
471 * @released |
|
472 */ |
|
473 const TRdsProgrammeType KRbdsPtyEmergency = 31; |
|
474 |
|
475 /** |
|
476 * RDS Programme Type Name. |
|
477 * |
|
478 * @publishedPartner |
|
479 * @released |
|
480 */ |
|
481 const TUint8 KMaxRdsPtynLength = 8; |
|
482 typedef TBuf<KMaxRdsPtynLength> TRdsProgrammeTypeName; |
|
483 |
|
484 #endif // EXCLUDE_RDS_PROGRAMME_TYPE_DEFS |
|
485 |
|
486 /** |
|
487 * RDS Language IDs. |
|
488 * |
|
489 * @publishedPartner |
|
490 * @released |
|
491 */ |
|
492 typedef TInt TRdsLanguageIdType; |
|
493 |
|
494 /** |
|
495 * FM Tx RDS data |
|
496 * These data items may set, using the HWRM FM Tx API |
|
497 * |
|
498 * @publishedPartner |
|
499 * @released |
|
500 */ |
|
501 struct TFmTxRdsData |
|
502 { |
|
503 TRdsProgrammeType iPty; // Programme Type |
|
504 TRdsProgrammeTypeName iPtyn; // Programme Type Name |
|
505 TBool iMs; // Music/Speech flag |
|
506 TRdsLanguageIdType iLanguageId; // Language ID |
|
507 }; |
|
508 |
|
509 |
|
510 /** |
|
511 * |
|
512 * @publishedPartner |
|
513 * @released |
|
514 */ |
|
515 const TRdsLanguageIdType KRdsLanguageUnknown = 0x00; // Unknown/not applicable |
|
516 /** |
|
517 * |
|
518 * @publishedPartner |
|
519 * @released |
|
520 */ |
|
521 const TRdsLanguageIdType KRdsLanguageAlbanian = 0x01; // Albanian |
|
522 /** |
|
523 * |
|
524 * @publishedPartner |
|
525 * @released |
|
526 */ |
|
527 const TRdsLanguageIdType KRdsLanguageBreton = 0x02; // Breton |
|
528 /** |
|
529 * |
|
530 * @publishedPartner |
|
531 * @released |
|
532 */ |
|
533 const TRdsLanguageIdType KRdsLanguageCatalan = 0x03; // Catalan |
|
534 /** |
|
535 * |
|
536 * @publishedPartner |
|
537 * @released |
|
538 */ |
|
539 const TRdsLanguageIdType KRdsLanguageCroatian = 0x04; // Croatian |
|
540 /** |
|
541 * |
|
542 * @publishedPartner |
|
543 * @released |
|
544 */ |
|
545 const TRdsLanguageIdType KRdsLanguageWelsh = 0x05; // Welsh |
|
546 /** |
|
547 * |
|
548 * @publishedPartner |
|
549 * @released |
|
550 */ |
|
551 const TRdsLanguageIdType KRdsLanguageCzech = 0x06; // Czech |
|
552 /** |
|
553 * |
|
554 * @publishedPartner |
|
555 * @released |
|
556 */ |
|
557 const TRdsLanguageIdType KRdsLanguageDanish = 0x07; // Danish |
|
558 /** |
|
559 * |
|
560 * @publishedPartner |
|
561 * @released |
|
562 */ |
|
563 const TRdsLanguageIdType KRdsLanguageGerman = 0x08; // German |
|
564 /** |
|
565 * |
|
566 * @publishedPartner |
|
567 * @released |
|
568 */ |
|
569 const TRdsLanguageIdType KRdsLanguageEnglish = 0x09; // English |
|
570 /** |
|
571 * |
|
572 * @publishedPartner |
|
573 * @released |
|
574 */ |
|
575 const TRdsLanguageIdType KRdsLanguageSpanish = 0x0A; // Spanish |
|
576 /** |
|
577 * |
|
578 * @publishedPartner |
|
579 * @released |
|
580 */ |
|
581 const TRdsLanguageIdType KRdsLanguageEsperanto = 0x0B; // Esperanto |
|
582 /** |
|
583 * |
|
584 * @publishedPartner |
|
585 * @released |
|
586 */ |
|
587 const TRdsLanguageIdType KRdsLanguageEstonian = 0x0C; // Estonian |
|
588 /** |
|
589 * |
|
590 * @publishedPartner |
|
591 * @released |
|
592 */ |
|
593 const TRdsLanguageIdType KRdsLanguageBasque = 0x0D; // Basque |
|
594 /** |
|
595 * |
|
596 * @publishedPartner |
|
597 * @released |
|
598 */ |
|
599 const TRdsLanguageIdType KRdsLanguageFaroese = 0x0E; // Faroese |
|
600 /** |
|
601 * |
|
602 * @publishedPartner |
|
603 * @released |
|
604 */ |
|
605 const TRdsLanguageIdType KRdsLanguageFrench = 0x0F; // French |
|
606 /** |
|
607 * |
|
608 * @publishedPartner |
|
609 * @released |
|
610 */ |
|
611 const TRdsLanguageIdType KRdsLanguageFrisian = 0x10; // Frisian |
|
612 /** |
|
613 * |
|
614 * @publishedPartner |
|
615 * @released |
|
616 */ |
|
617 const TRdsLanguageIdType KRdsLanguageIrish = 0x11; // Irish |
|
618 /** |
|
619 * |
|
620 * @publishedPartner |
|
621 * @released |
|
622 */ |
|
623 const TRdsLanguageIdType KRdsLanguageGaelic = 0x12; // Gaelic |
|
624 /** |
|
625 * |
|
626 * @publishedPartner |
|
627 * @released |
|
628 */ |
|
629 const TRdsLanguageIdType KRdsLanguageGalician = 0x13; // Galician |
|
630 /** |
|
631 * |
|
632 * @publishedPartner |
|
633 * @released |
|
634 */ |
|
635 const TRdsLanguageIdType KRdsLanguageIcelandic = 0x14; // Icelandic |
|
636 /** |
|
637 * |
|
638 * @publishedPartner |
|
639 * @released |
|
640 */ |
|
641 const TRdsLanguageIdType KRdsLanguageItalian = 0x15; // Italian |
|
642 /** |
|
643 * |
|
644 * @publishedPartner |
|
645 * @released |
|
646 */ |
|
647 const TRdsLanguageIdType KRdsLanguageLappish = 0x16; // Lappish |
|
648 /** |
|
649 * |
|
650 * @publishedPartner |
|
651 * @released |
|
652 */ |
|
653 const TRdsLanguageIdType KRdsLanguageLatin = 0x17; // Latin |
|
654 /** |
|
655 * |
|
656 * @publishedPartner |
|
657 * @released |
|
658 */ |
|
659 const TRdsLanguageIdType KRdsLanguageLatvian = 0x18; // Latvian |
|
660 /** |
|
661 * |
|
662 * @publishedPartner |
|
663 * @released |
|
664 */ |
|
665 const TRdsLanguageIdType KRdsLanguageLuxembourgian = 0x19; // Luxembourgian |
|
666 /** |
|
667 * |
|
668 * @publishedPartner |
|
669 * @released |
|
670 */ |
|
671 const TRdsLanguageIdType KRdsLanguageLithuanian = 0x1A; // Lithuanian |
|
672 /** |
|
673 * |
|
674 * @publishedPartner |
|
675 * @released |
|
676 */ |
|
677 const TRdsLanguageIdType KRdsLanguageHungarian = 0x1B; // Hungarian |
|
678 /** |
|
679 * |
|
680 * @publishedPartner |
|
681 * @released |
|
682 */ |
|
683 const TRdsLanguageIdType KRdsLanguageMaltese = 0x1C; // Maltese |
|
684 /** |
|
685 * |
|
686 * @publishedPartner |
|
687 * @released |
|
688 */ |
|
689 const TRdsLanguageIdType KRdsLanguageDutch = 0x1D; // Dutch |
|
690 /** |
|
691 * |
|
692 * @publishedPartner |
|
693 * @released |
|
694 */ |
|
695 const TRdsLanguageIdType KRdsLanguageNorwegian = 0x1E; // Norwegian |
|
696 /** |
|
697 * |
|
698 * @publishedPartner |
|
699 * @released |
|
700 */ |
|
701 const TRdsLanguageIdType KRdsLanguageOccitan = 0x1F; // Occitan |
|
702 /** |
|
703 * |
|
704 * @publishedPartner |
|
705 * @released |
|
706 */ |
|
707 const TRdsLanguageIdType KRdsLanguagePolish = 0x20; // Polish |
|
708 /** |
|
709 * |
|
710 * @publishedPartner |
|
711 * @released |
|
712 */ |
|
713 const TRdsLanguageIdType KRdsLanguagePortuguese = 0x21; // Portuguese |
|
714 /** |
|
715 * |
|
716 * @publishedPartner |
|
717 * @released |
|
718 */ |
|
719 const TRdsLanguageIdType KRdsLanguageRomanian = 0x22; // Romanian |
|
720 /** |
|
721 * |
|
722 * @publishedPartner |
|
723 * @released |
|
724 */ |
|
725 const TRdsLanguageIdType KRdsLanguageRomansh = 0x23; // Romansh |
|
726 /** |
|
727 * |
|
728 * @publishedPartner |
|
729 * @released |
|
730 */ |
|
731 const TRdsLanguageIdType KRdsLanguageSerbian = 0x24; // Serbian |
|
732 /** |
|
733 * |
|
734 * @publishedPartner |
|
735 * @released |
|
736 */ |
|
737 const TRdsLanguageIdType KRdsLanguageSlovak = 0x25; // Slovak |
|
738 /** |
|
739 * |
|
740 * @publishedPartner |
|
741 * @released |
|
742 */ |
|
743 const TRdsLanguageIdType KRdsLanguageSlovene = 0x26; // Slovene |
|
744 /** |
|
745 * |
|
746 * @publishedPartner |
|
747 * @released |
|
748 */ |
|
749 const TRdsLanguageIdType KRdsLanguageFinnish = 0x27; // Finnish |
|
750 /** |
|
751 * |
|
752 * @publishedPartner |
|
753 * @released |
|
754 */ |
|
755 const TRdsLanguageIdType KRdsLanguageSwedish = 0x28; // Swedish |
|
756 /** |
|
757 * |
|
758 * @publishedPartner |
|
759 * @released |
|
760 */ |
|
761 const TRdsLanguageIdType KRdsLanguageTurkish = 0x29; // Turkish |
|
762 /** |
|
763 * |
|
764 * @publishedPartner |
|
765 * @released |
|
766 */ |
|
767 const TRdsLanguageIdType KRdsLanguageFlemish = 0x2A; // Flemish |
|
768 /** |
|
769 * |
|
770 * @publishedPartner |
|
771 * @released |
|
772 */ |
|
773 const TRdsLanguageIdType KRdsLanguageWalloon = 0x2B; // Walloon |
|
774 |
|
775 /** |
|
776 * |
|
777 * @publishedPartner |
|
778 * @released |
|
779 */ |
|
780 const TRdsLanguageIdType KRdsLanguageBackgroundSound = 0x40; // Background sound/Clean feed |
|
781 |
|
782 /** |
|
783 * |
|
784 * @publishedPartner |
|
785 * @released |
|
786 */ |
|
787 const TRdsLanguageIdType KRdsLanguageZulu = 0x45; // Zulu |
|
788 /** |
|
789 * |
|
790 * @publishedPartner |
|
791 * @released |
|
792 */ |
|
793 const TRdsLanguageIdType KRdsLanguageVietnamese = 0x46; // Vietnamese |
|
794 /** |
|
795 * |
|
796 * @publishedPartner |
|
797 * @released |
|
798 */ |
|
799 const TRdsLanguageIdType KRdsLanguageUzbek = 0x47; // Uzbek |
|
800 /** |
|
801 * |
|
802 * @publishedPartner |
|
803 * @released |
|
804 */ |
|
805 const TRdsLanguageIdType KRdsLanguageUrdu = 0x48; // Urdu |
|
806 /** |
|
807 * |
|
808 * @publishedPartner |
|
809 * @released |
|
810 */ |
|
811 const TRdsLanguageIdType KRdsLanguageUkrainian = 0x49; // Ukrainian |
|
812 /** |
|
813 * |
|
814 * @publishedPartner |
|
815 * @released |
|
816 */ |
|
817 const TRdsLanguageIdType KRdsLanguageThai = 0x4A; // Thai |
|
818 /** |
|
819 * |
|
820 * @publishedPartner |
|
821 * @released |
|
822 */ |
|
823 const TRdsLanguageIdType KRdsLanguageTelugu = 0x4B; // Telugu |
|
824 /** |
|
825 * |
|
826 * @publishedPartner |
|
827 * @released |
|
828 */ |
|
829 const TRdsLanguageIdType KRdsLanguageTatar = 0x4C; // Tatar |
|
830 /** |
|
831 * |
|
832 * @publishedPartner |
|
833 * @released |
|
834 */ |
|
835 const TRdsLanguageIdType KRdsLanguageTamil = 0x4D; // Tamil |
|
836 /** |
|
837 * |
|
838 * @publishedPartner |
|
839 * @released |
|
840 */ |
|
841 const TRdsLanguageIdType KRdsLanguageTadzhik = 0x4E; // Tadzhik |
|
842 /** |
|
843 * |
|
844 * @publishedPartner |
|
845 * @released |
|
846 */ |
|
847 const TRdsLanguageIdType KRdsLanguageSwahili = 0x4F; // Swahili |
|
848 /** |
|
849 * |
|
850 * @publishedPartner |
|
851 * @released |
|
852 */ |
|
853 const TRdsLanguageIdType KRdsLanguageSrananTongo = 0x50; // Sranan Tongo |
|
854 /** |
|
855 * |
|
856 * @publishedPartner |
|
857 * @released |
|
858 */ |
|
859 const TRdsLanguageIdType KRdsLanguageSomali = 0x51; // Somali |
|
860 /** |
|
861 * |
|
862 * @publishedPartner |
|
863 * @released |
|
864 */ |
|
865 const TRdsLanguageIdType KRdsLanguageSinhalese = 0x52; // Sinhalese |
|
866 /** |
|
867 * |
|
868 * @publishedPartner |
|
869 * @released |
|
870 */ |
|
871 const TRdsLanguageIdType KRdsLanguageShona = 0x53; // Shona |
|
872 /** |
|
873 * |
|
874 * @publishedPartner |
|
875 * @released |
|
876 */ |
|
877 const TRdsLanguageIdType KRdsLanguageSerboCroat = 0x54; // Serbo-Croat |
|
878 /** |
|
879 * |
|
880 * @publishedPartner |
|
881 * @released |
|
882 */ |
|
883 const TRdsLanguageIdType KRdsLanguageRuthenian = 0x55; // Ruthenian |
|
884 /** |
|
885 * |
|
886 * @publishedPartner |
|
887 * @released |
|
888 */ |
|
889 const TRdsLanguageIdType KRdsLanguageRussian = 0x56; // Russian |
|
890 /** |
|
891 * |
|
892 * @publishedPartner |
|
893 * @released |
|
894 */ |
|
895 const TRdsLanguageIdType KRdsLanguageQuechua = 0x57; // Quechua |
|
896 /** |
|
897 * |
|
898 * @publishedPartner |
|
899 * @released |
|
900 */ |
|
901 const TRdsLanguageIdType KRdsLanguagePushtu = 0x58; // Pushtu |
|
902 /** |
|
903 * |
|
904 * @publishedPartner |
|
905 * @released |
|
906 */ |
|
907 const TRdsLanguageIdType KRdsLanguagePunjabi = 0x59; // Punjabi |
|
908 /** |
|
909 * |
|
910 * @publishedPartner |
|
911 * @released |
|
912 */ |
|
913 const TRdsLanguageIdType KRdsLanguagePersian = 0x5A; // Persian |
|
914 /** |
|
915 * |
|
916 * @publishedPartner |
|
917 * @released |
|
918 */ |
|
919 const TRdsLanguageIdType KRdsLanguagePapamiento = 0x5B; // Papamiento |
|
920 /** |
|
921 * |
|
922 * @publishedPartner |
|
923 * @released |
|
924 */ |
|
925 const TRdsLanguageIdType KRdsLanguageOriya = 0x5C; // Oriya |
|
926 /** |
|
927 * |
|
928 * @publishedPartner |
|
929 * @released |
|
930 */ |
|
931 const TRdsLanguageIdType KRdsLanguageNepali = 0x5D; // Nepali |
|
932 /** |
|
933 * |
|
934 * @publishedPartner |
|
935 * @released |
|
936 */ |
|
937 const TRdsLanguageIdType KRdsLanguageNdebele = 0x5E; // Ndebele |
|
938 /** |
|
939 * |
|
940 * @publishedPartner |
|
941 * @released |
|
942 */ |
|
943 const TRdsLanguageIdType KRdsLanguageMarathi = 0x5F; // Marathi |
|
944 /** |
|
945 * |
|
946 * @publishedPartner |
|
947 * @released |
|
948 */ |
|
949 const TRdsLanguageIdType KRdsLanguageMoldavian = 0x60; // Moldavian |
|
950 /** |
|
951 * |
|
952 * @publishedPartner |
|
953 * @released |
|
954 */ |
|
955 const TRdsLanguageIdType KRdsLanguageMalaysian = 0x61; // Malaysian |
|
956 /** |
|
957 * |
|
958 * @publishedPartner |
|
959 * @released |
|
960 */ |
|
961 const TRdsLanguageIdType KRdsLanguageMalagasay = 0x62; // Malagasay |
|
962 /** |
|
963 * |
|
964 * @publishedPartner |
|
965 * @released |
|
966 */ |
|
967 const TRdsLanguageIdType KRdsLanguageMacedonian = 0x63; // Macedonian |
|
968 /** |
|
969 * |
|
970 * @publishedPartner |
|
971 * @released |
|
972 */ |
|
973 const TRdsLanguageIdType KRdsLanguageLaotian = 0x64; // Laotian |
|
974 /** |
|
975 * |
|
976 * @publishedPartner |
|
977 * @released |
|
978 */ |
|
979 const TRdsLanguageIdType KRdsLanguageKorean = 0x65; // Korean |
|
980 /** |
|
981 * |
|
982 * @publishedPartner |
|
983 * @released |
|
984 */ |
|
985 const TRdsLanguageIdType KRdsLanguageKhmer = 0x66; // Khmer |
|
986 /** |
|
987 * |
|
988 * @publishedPartner |
|
989 * @released |
|
990 */ |
|
991 const TRdsLanguageIdType KRdsLanguageKazakh = 0x67; // Kazakh |
|
992 /** |
|
993 * |
|
994 * @publishedPartner |
|
995 * @released |
|
996 */ |
|
997 const TRdsLanguageIdType KRdsLanguageKannada = 0x68; // Kannada |
|
998 /** |
|
999 * |
|
1000 * @publishedPartner |
|
1001 * @released |
|
1002 */ |
|
1003 const TRdsLanguageIdType KRdsLanguageJapanese = 0x69; // Japanese |
|
1004 /** |
|
1005 * |
|
1006 * @publishedPartner |
|
1007 * @released |
|
1008 */ |
|
1009 const TRdsLanguageIdType KRdsLanguageIndonesian = 0x6A; // Indonesian |
|
1010 /** |
|
1011 * |
|
1012 * @publishedPartner |
|
1013 * @released |
|
1014 */ |
|
1015 const TRdsLanguageIdType KRdsLanguageHindi = 0x6B; // Hindi |
|
1016 /** |
|
1017 * |
|
1018 * @publishedPartner |
|
1019 * @released |
|
1020 */ |
|
1021 const TRdsLanguageIdType KRdsLanguageHebrew = 0x6C; // Hebrew |
|
1022 /** |
|
1023 * |
|
1024 * @publishedPartner |
|
1025 * @released |
|
1026 */ |
|
1027 const TRdsLanguageIdType KRdsLanguageHausa = 0x6D; // Hausa |
|
1028 /** |
|
1029 * |
|
1030 * @publishedPartner |
|
1031 * @released |
|
1032 */ |
|
1033 const TRdsLanguageIdType KRdsLanguageGurani = 0x6E; // Gurani |
|
1034 /** |
|
1035 * |
|
1036 * @publishedPartner |
|
1037 * @released |
|
1038 */ |
|
1039 const TRdsLanguageIdType KRdsLanguageGujurati = 0x6F; // Gujurati |
|
1040 /** |
|
1041 * |
|
1042 * @publishedPartner |
|
1043 * @released |
|
1044 */ |
|
1045 const TRdsLanguageIdType KRdsLanguageGreek = 0x70; // Greek |
|
1046 /** |
|
1047 * |
|
1048 * @publishedPartner |
|
1049 * @released |
|
1050 */ |
|
1051 const TRdsLanguageIdType KRdsLanguageGeorgian = 0x71; // Georgian |
|
1052 /** |
|
1053 * |
|
1054 * @publishedPartner |
|
1055 * @released |
|
1056 */ |
|
1057 const TRdsLanguageIdType KRdsLanguageFulani = 0x72; // Fulani |
|
1058 /** |
|
1059 * |
|
1060 * @publishedPartner |
|
1061 * @released |
|
1062 */ |
|
1063 const TRdsLanguageIdType KRdsLanguageDari = 0x73; // Dari |
|
1064 /** |
|
1065 * |
|
1066 * @publishedPartner |
|
1067 * @released |
|
1068 */ |
|
1069 const TRdsLanguageIdType KRdsLanguageChurash = 0x74; // Churash |
|
1070 /** |
|
1071 * |
|
1072 * @publishedPartner |
|
1073 * @released |
|
1074 */ |
|
1075 const TRdsLanguageIdType KRdsLanguageChinese = 0x75; // Chinese |
|
1076 /** |
|
1077 * |
|
1078 * @publishedPartner |
|
1079 * @released |
|
1080 */ |
|
1081 const TRdsLanguageIdType KRdsLanguageBurmese = 0x76; // Burmese |
|
1082 /** |
|
1083 * |
|
1084 * @publishedPartner |
|
1085 * @released |
|
1086 */ |
|
1087 const TRdsLanguageIdType KRdsLanguageBulgarian = 0x77; // Bulgarian |
|
1088 /** |
|
1089 * |
|
1090 * @publishedPartner |
|
1091 * @released |
|
1092 */ |
|
1093 const TRdsLanguageIdType KRdsLanguageBengali = 0x78; // Bengali |
|
1094 /** |
|
1095 * |
|
1096 * @publishedPartner |
|
1097 * @released |
|
1098 */ |
|
1099 const TRdsLanguageIdType KRdsLanguageBelorussian = 0x79; // Belorussian |
|
1100 /** |
|
1101 * |
|
1102 * @publishedPartner |
|
1103 * @released |
|
1104 */ |
|
1105 const TRdsLanguageIdType KRdsLanguageBambora = 0x7A; // Bambora |
|
1106 /** |
|
1107 * |
|
1108 * @publishedPartner |
|
1109 * @released |
|
1110 */ |
|
1111 const TRdsLanguageIdType KRdsLanguageAzerbaijan = 0x7B; // Azerbaijan |
|
1112 /** |
|
1113 * |
|
1114 * @publishedPartner |
|
1115 * @released |
|
1116 */ |
|
1117 const TRdsLanguageIdType KRdsLanguageAssamese = 0x7C; // Assamese |
|
1118 /** |
|
1119 * |
|
1120 * @publishedPartner |
|
1121 * @released |
|
1122 */ |
|
1123 const TRdsLanguageIdType KRdsLanguageArmenian = 0x7D; // Armenian |
|
1124 /** |
|
1125 * |
|
1126 * @publishedPartner |
|
1127 * @released |
|
1128 */ |
|
1129 const TRdsLanguageIdType KRdsLanguageArabic = 0x7E; // Arabic |
|
1130 /** |
|
1131 * |
|
1132 * @publishedPartner |
|
1133 * @released |
|
1134 */ |
|
1135 const TRdsLanguageIdType KRdsLanguageAmharic = 0x7F; // Amharic |
|
1136 |
|
1137 /** |
|
1138 * Radiotext+ content type codes |
|
1139 * |
|
1140 * @publishedPartner |
|
1141 * @released |
|
1142 */ |
|
1143 enum TRtPlusContentType |
|
1144 { |
|
1145 ERtPlusItemTitle = 0, |
|
1146 ERtPlusItemAlbum = 1, |
|
1147 ERtPlusItemTrackNumber = 2, |
|
1148 ERtPlusItemArtist = 3, |
|
1149 ERtPlusItemComposition = 4, |
|
1150 ERtPlusItemMovement = 5, |
|
1151 ERtPlusItemConductor = 6, |
|
1152 ERtPlusItemComposer = 7, |
|
1153 ERtPlusItemBand = 8, |
|
1154 ERtPlusItemComment = 9, |
|
1155 ERtPlusItemGenre = 10, |
|
1156 ERtPlusInfoNews = 11, |
|
1157 ERtPlusInfoNewsLocal = 12, |
|
1158 ERtPlusInfoStockMarket = 13, |
|
1159 ERtPlusInfoSport = 14, |
|
1160 ERtPlusInfoLottery = 15, |
|
1161 ERtPlusInfoHoroscope = 16, |
|
1162 ERtPlusInfoDailyDiversion = 17, |
|
1163 ERtPlusInfoHealth = 18, |
|
1164 ERtPlusInfoEvent = 19, |
|
1165 ERtPlusInfoScene = 20, |
|
1166 ERtPlusInfoCinema = 21, |
|
1167 ERtPlusInfoTV = 22, |
|
1168 ERtPlusInfoDateTime = 23, |
|
1169 ERtPlusInfoWeather = 24, |
|
1170 ERtPlusInfoAlarm = 25, |
|
1171 ERtPlusInfoAdvisertisement = 26, |
|
1172 ERtPlusInfoOther = 27, |
|
1173 ERtPlusStationNameLong = 28, |
|
1174 ERtPlusProgramNow = 29, |
|
1175 ERtPlusProgramNext = 30, |
|
1176 ERtPlusProgramPart = 31, |
|
1177 ERtPlusProgramHost = 32, |
|
1178 ERtPlusProgramEditorialStaff = 33, |
|
1179 ERtPlusProgramRadio = 34, |
|
1180 ERtPlusProgramHomepage = 35, |
|
1181 ERtPlusPhoneHotline = 36, |
|
1182 ERtPlusPhoneStudio = 37, |
|
1183 ERtPlusPhoneOther = 38, |
|
1184 ERtPlusSmsStudio = 39, |
|
1185 ERtPlusSmsOther = 40, |
|
1186 ERtPlusEmailHotline = 41, |
|
1187 ERtPlusEmailStudio = 42, |
|
1188 ERtPlusEmailOther = 43, |
|
1189 ERtPlusMmsOther = 44, |
|
1190 ERtPlusChat = 45, |
|
1191 ERtPlusChatCenter = 46, |
|
1192 ERtPlusVoteQuestion = 47, |
|
1193 ERtPlusVoteCenter = 48, |
|
1194 ERtPlusOpenClass49 = 49, |
|
1195 ERtPlusOpenClass50 = 50, |
|
1196 ERtPlusOpenClass51 = 51, |
|
1197 ERtPlusOpenClass52 = 52, |
|
1198 ERtPlusOpenClass53 = 53, |
|
1199 ERtPlusOpenClass54 = 54, |
|
1200 ERtPlusOpenClass55 = 55, |
|
1201 ERtPlusOpenClass56 = 56, |
|
1202 ERtPlusOpenClass57 = 57, |
|
1203 ERtPlusPlace = 58, |
|
1204 ERtPlusAppointment = 59, |
|
1205 ERtPlusHotline = 60, |
|
1206 ERtPlusIdentifier = 61, |
|
1207 ERtPlusPurchase = 62, |
|
1208 ERtPlusGetData = 63, |
|
1209 ERtPlusCount |
|
1210 }; |
|
1211 |
|
1212 /** |
|
1213 * Radiotext+ tag |
|
1214 * |
|
1215 * @publishedPartner |
|
1216 * @released |
|
1217 */ |
|
1218 struct TRtPlusTag |
|
1219 { |
|
1220 TRtPlusContentType iContentType; // 0 to 63 |
|
1221 TInt iStartMarker; // Start marker 0: means first character in the RT. |
|
1222 TInt iLengthMarker; // The length marker is ranging from 1 to 63. |
|
1223 }; |
|
1224 |
|
1225 #endif /*FMTXDATA_*/ |