fmradio/fmradioengine/data/fmradioengine.rss
changeset 0 f3d95d9c00ab
child 13 4f2584af5a29
equal deleted inserted replaced
-1:000000000000 0:f3d95d9c00ab
       
     1 /*
       
     2 * Copyright (c) 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: Resource file for fmradioengine  
       
    15 *
       
    16 */
       
    17 //  RESOURCE IDENTIFIER
       
    18 NAME    FMEN
       
    19 
       
    20 //  INCLUDES
       
    21 #include <uikon.rh>
       
    22 
       
    23 #include <fmradio.loc>
       
    24 #include "fmradioengine.hrh"
       
    25 
       
    26 //  RESOURCE DEFINITIONS 
       
    27 
       
    28 // ---------------------------------------------------------
       
    29 //   
       
    30 //    
       
    31 //    Resource signature
       
    32 //
       
    33 // ---------------------------------------------------------
       
    34 //
       
    35 
       
    36 RESOURCE RSS_SIGNATURE { }
       
    37 
       
    38 // Non-operator customisable settings
       
    39 
       
    40 
       
    41 STRUCT RADIO_REGION
       
    42 	{
       
    43 	WORD id;
       
    44 	WORD stepsize;
       
    45 	LONG minfrequency;
       
    46 	LONG maxfrequency;
       
    47 	WORD decimalcount;
       
    48 	LTEXT countrycodes[] = {""};
       
    49 	LTEXT regionname;
       
    50 	LTEXT regionsettingname;
       
    51 	}
       
    52 
       
    53 STRUCT RADIO_REGION_ARRAY
       
    54 	{
       
    55 	LLINK regions[];
       
    56 	}
       
    57 
       
    58 // ---------------------------------------------------------
       
    59 //
       
    60 //    r_radio_regions_all
       
    61 //    Array of all the supported regions
       
    62 //
       
    63 // ---------------------------------------------------------
       
    64 //
       
    65 RESOURCE RADIO_REGION_ARRAY r_radio_regions_all
       
    66 	{
       
    67 	regions = 
       
    68 		{
       
    69 		r_radio_region_japan,
       
    70 		r_radio_region_america,
       
    71 		r_radio_region_default
       
    72 		};
       
    73 	}
       
    74 
       
    75 // ---------------------------------------------------------
       
    76 //
       
    77 //    r_radio_regions_without_japan
       
    78 //    Array of supported regions without Japan
       
    79 //
       
    80 // ---------------------------------------------------------
       
    81 //
       
    82 RESOURCE RADIO_REGION_ARRAY r_radio_regions_without_japan
       
    83 	{
       
    84 	regions = 
       
    85 		{		
       
    86 		r_radio_region_america,
       
    87 		r_radio_region_default
       
    88 		};
       
    89 	}
       
    90 	
       
    91 // ---------------------------------------------------------
       
    92 //
       
    93 //    r_radio_region_japan
       
    94 //    Region settings for Japan
       
    95 //    Check country codes from: 
       
    96 //    "COMPLEMENT TO ITU-T RECOMMENDATION E.212, LIST OF MOBILE COUNTRY OR GEOGRAPHICAL AREA CODES"
       
    97 // ---------------------------------------------------------
       
    98 //
       
    99 RESOURCE RADIO_REGION r_radio_region_japan
       
   100 	{
       
   101 	id = EFMRadioRegionJapan;
       
   102 	stepsize = 100;
       
   103 	minfrequency = 76000;
       
   104 	maxfrequency = 90000;
       
   105 	decimalcount = 1;
       
   106 	countrycodes = 
       
   107 		{
       
   108 		"440",
       
   109 		"441"
       
   110 		};
       
   111 	regionname = qtn_fmradio_reg_japan;
       
   112 	}
       
   113 
       
   114 // ---------------------------------------------------------
       
   115 //
       
   116 //    r_radio_region_america
       
   117 //    Region settings for America
       
   118 //    "COMPLEMENT TO ITU-T RECOMMENDATION E.212, LIST OF MOBILE COUNTRY OR GEOGRAPHICAL AREA CODES"
       
   119 //
       
   120 // ---------------------------------------------------------
       
   121 //
       
   122 RESOURCE RADIO_REGION r_radio_region_america
       
   123 	{
       
   124 	id = EFMRadioRegionAmerica;
       
   125 	stepsize = 200;
       
   126 	minfrequency = 88100;
       
   127 	maxfrequency = 107900;
       
   128 	decimalcount = 1;
       
   129 	countrycodes = 
       
   130 		{
       
   131 		"302",  // Canada
       
   132 		"310",  // USA
       
   133 		"311",  // USA
       
   134 		"312",  // USA
       
   135 		"313",  // USA
       
   136 		"314",  // USA
       
   137 		"315",  // USA
       
   138 		"316",  // USA
       
   139 		"332",  // USA
       
   140 		"334",  // Mexico
       
   141 		"338",  // Jamaica
       
   142 		"342",  // Barbados
       
   143 		"344",  // Antigua and Barbuda
       
   144 		"352",  // Grenada
       
   145 		"360",  // Saint Vincent and the Grenadines
       
   146 		"364",  // Bahamas
       
   147 		"366",  // Common Wealth of Dominica
       
   148 		"370",  // Dominican Republic
       
   149 		"372",  // Haiti
       
   150 		"374",  // Trinidad and Tobago
       
   151 		"368",  // Cuba
       
   152 		"702",  // Belize
       
   153 		"704",  // Guatemala
       
   154 		"706",  // El Salvador
       
   155 		"708",  // Honduras
       
   156 		"710",  // Nicaragua
       
   157 		"712",  // Costa Rica
       
   158 		"714",  // Panama
       
   159 		"716",  // Peru
       
   160 		"724",  // Brazil
       
   161 		"730",  // Chile
       
   162 		"732",  // Colombia
       
   163 		"734",  // Venezuela
       
   164 		"736",  // Bolivia
       
   165 		"738",  // Guyana
       
   166 		"740",  // Ecuador
       
   167 		"744",  // Paraguay
       
   168 		"746",  // Suriname
       
   169 		"748"   // Uruguay
       
   170 		};
       
   171 	regionname = qtn_fmradio_reg_america;
       
   172 	}
       
   173 
       
   174 // ---------------------------------------------------------
       
   175 //
       
   176 //    r_radio_region_default
       
   177 //    Region settings for default region
       
   178 //
       
   179 // ---------------------------------------------------------
       
   180 //
       
   181 RESOURCE RADIO_REGION r_radio_region_default
       
   182 	{
       
   183 	id = EFMRadioRegionDefault;
       
   184 	stepsize = 50;
       
   185 	minfrequency = 87500;
       
   186 	maxfrequency = 108000;
       
   187 	decimalcount = 2;
       
   188 	regionname = qtn_fmradio_reg_other;
       
   189 	}