radioengine/settings/data/radioenginesettings.rss
branchGCC_SURGE
changeset 37 451b2e1545b2
parent 26 6bcf277166c1
parent 33 11b6825f0862
equal deleted inserted replaced
26:6bcf277166c1 37:451b2e1545b2
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 // Resource identifier
       
    19 NAME    QRST
       
    20 
       
    21 // System includes
       
    22 #include <uikon.rh>
       
    23 
       
    24 #include "radiosettings.rh"
       
    25 #include "radiopreset.hrh"
       
    26 #include "radioengine.hrh"
       
    27 
       
    28 // Resource definitions
       
    29 
       
    30 // ---------------------------------------------------------
       
    31 //    Resource signature
       
    32 // ---------------------------------------------------------
       
    33 //
       
    34 
       
    35 RESOURCE RSS_SIGNATURE { }
       
    36 
       
    37 // Non-operator customisable settings
       
    38 
       
    39 // ---------------------------------------------------------
       
    40 //    r_qrad_empty_name_preset
       
    41 //    TBUF16 stores the string name for the empty "Empty"
       
    42 // ---------------------------------------------------------
       
    43 //
       
    44 RESOURCE TBUF256 r_qrad_empty_name_preset
       
    45 {
       
    46     buf = qtn_radio_ch_empty;
       
    47 }
       
    48 
       
    49 // ---------------------------------------------------------
       
    50 //    r_qrad_predefined_presets
       
    51 //    Predefined presets list. No need to include empty presets -- they'll get autogenerated!
       
    52 // ---------------------------------------------------------
       
    53 //
       
    54 // The following array must coexist as the VERY LAST Resource IN THIS FILE, to maintain BC!
       
    55 RESOURCE RADIOPRESET r_qrad_empty_presets
       
    56 {
       
    57     name = "";
       
    58     freq_kHz = 0;
       
    59     serviceid = "";
       
    60     radio_preset_type = ERadioPresetItemEmpty;
       
    61     radio_preset_location = "";
       
    62 }
       
    63 
       
    64 // ---------------------------------------------------------
       
    65 //
       
    66 // ---------------------------------------------------------
       
    67 //
       
    68 STRUCT RADIO_REGION
       
    69     {
       
    70     WORD id;
       
    71     WORD stepsize;
       
    72     LONG minfrequency;
       
    73     LONG maxfrequency;
       
    74     WORD decimalcount;
       
    75     LTEXT countrycodes[] = {""};
       
    76     LTEXT regionname;
       
    77     LTEXT regionsettingname;
       
    78     }
       
    79 
       
    80 // ---------------------------------------------------------
       
    81 //
       
    82 // ---------------------------------------------------------
       
    83 //
       
    84 STRUCT RADIO_REGION_ARRAY
       
    85     {
       
    86     LLINK regions[];
       
    87     }
       
    88 
       
    89 // ---------------------------------------------------------
       
    90 //    r_qrad_regions
       
    91 //    Array of the supported regions
       
    92 // ---------------------------------------------------------
       
    93 //
       
    94 RESOURCE RADIO_REGION_ARRAY r_qrad_regions
       
    95     {
       
    96     regions =
       
    97         {
       
    98         r_qrad_region_japan,
       
    99         r_qrad_region_america,
       
   100         r_qrad_region_default
       
   101         };
       
   102     }
       
   103 
       
   104 // ---------------------------------------------------------
       
   105 //    r_qrad_region_japan
       
   106 //    Region settings for Japan
       
   107 //    Check country codes from:
       
   108 //    "COMPLEMENT TO ITU-T RECOMMENDATION E.212, LIST OF MOBILE COUNTRY OR GEOGRAPHICAL AREA CODES"
       
   109 // ---------------------------------------------------------
       
   110 //
       
   111 RESOURCE RADIO_REGION r_qrad_region_japan
       
   112     {
       
   113     id = ERadioRegionJapan;
       
   114     stepsize = 100;
       
   115     minfrequency = 76000;
       
   116     maxfrequency = 90000;
       
   117     decimalcount = 1;
       
   118     countrycodes =
       
   119         {
       
   120         "440",
       
   121         "441"
       
   122         };
       
   123     regionname = qtn_vr_reg_japan;
       
   124     regionsettingname = qtn_vr_set_reg_japan;
       
   125     }
       
   126 
       
   127 // ---------------------------------------------------------
       
   128 //    r_qrad_region_america
       
   129 //    Region settings for America
       
   130 //    "COMPLEMENT TO ITU-T RECOMMENDATION E.212, LIST OF MOBILE COUNTRY OR GEOGRAPHICAL AREA CODES"
       
   131 // ---------------------------------------------------------
       
   132 //
       
   133 RESOURCE RADIO_REGION r_qrad_region_america
       
   134     {
       
   135     id = ERadioRegionAmerica;
       
   136     stepsize = 200;
       
   137     minfrequency = 88100;
       
   138     maxfrequency = 107900;
       
   139     decimalcount = 1;
       
   140     countrycodes =
       
   141         {
       
   142         "302",  // Canada
       
   143         "310",  // USA
       
   144         "311",  // USA
       
   145         "312",  // USA
       
   146         "313",  // USA
       
   147         "314",  // USA
       
   148         "315",  // USA
       
   149         "316",  // USA
       
   150         "332",  // United States Virgin Islands
       
   151         "334",  // Mexico
       
   152         "338",  // Jamaica
       
   153         "342",  // Barbados
       
   154         "344",  // Antigua and Barbuda
       
   155         "352",  // Grenada
       
   156         "360",  // Saint Vincent and the Grenadines
       
   157         "364",  // Bahamas
       
   158         "366",  // Common Wealth of Dominica
       
   159         "370",  // Dominican Republic
       
   160         "372",  // Haiti
       
   161         "374",  // Trinidad and Tobago
       
   162         "368",  // Cuba
       
   163         "702",  // Belize
       
   164         "704",  // Guatemala
       
   165         "706",  // El Salvador
       
   166         "708",  // Honduras
       
   167         "710",  // Nicaragua
       
   168         "712",  // Costa Rica
       
   169         "714",  // Panama
       
   170         "716",  // Peru
       
   171         "722",  // Argentina
       
   172         "724",  // Brazil
       
   173         "730",  // Chile
       
   174         "732",  // Colombia
       
   175         "734",  // Venezuela
       
   176         "736",  // Bolivia
       
   177         "738",  // Guyana
       
   178         "740",  // Ecuador
       
   179         "744",  // Paraguay
       
   180         "746",  // Suriname
       
   181         "748"   // Uruguay
       
   182         };
       
   183     regionname = qtn_vr_reg_america;
       
   184     regionsettingname = qtn_vr_set_reg_america;
       
   185     }
       
   186 
       
   187 // ---------------------------------------------------------
       
   188 //    r_qrad_region_default
       
   189 //    Region settings for default region
       
   190 // ---------------------------------------------------------
       
   191 //
       
   192 RESOURCE RADIO_REGION r_qrad_region_default
       
   193     {
       
   194     id = ERadioRegionDefault;
       
   195     stepsize = 50;
       
   196     minfrequency = 87500;
       
   197     maxfrequency = 108000;
       
   198     decimalcount = 2;
       
   199     regionname = qtn_vr_reg_other;
       
   200     regionsettingname = qtn_vr_set_reg_other;
       
   201     }
       
   202 
       
   203 // ---------------------------------------------------------
       
   204 //    r_qtn_qrad_folder_radio_presets
       
   205 //    TBUF32 stores the string for presets folder name
       
   206 //    String lenght must be 30 characters
       
   207 // ---------------------------------------------------------
       
   208 //
       
   209 RESOURCE TBUF32 r_qtn_qrad_folder_radio_presets
       
   210     {
       
   211     buf = qtn_vr_folder_radio_presets;
       
   212     }