fmradio/fmradioengine/data/fmradioengine.rss
changeset 0 f3d95d9c00ab
child 27 4f2584af5a29
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fmradio/fmradioengine/data/fmradioengine.rss	Tue Feb 02 00:17:10 2010 +0200
@@ -0,0 +1,189 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Resource file for fmradioengine  
+*
+*/
+//  RESOURCE IDENTIFIER
+NAME    FMEN
+
+//  INCLUDES
+#include <uikon.rh>
+
+#include <fmradio.loc>
+#include "fmradioengine.hrh"
+
+//  RESOURCE DEFINITIONS 
+
+// ---------------------------------------------------------
+//   
+//    
+//    Resource signature
+//
+// ---------------------------------------------------------
+//
+
+RESOURCE RSS_SIGNATURE { }
+
+// Non-operator customisable settings
+
+
+STRUCT RADIO_REGION
+	{
+	WORD id;
+	WORD stepsize;
+	LONG minfrequency;
+	LONG maxfrequency;
+	WORD decimalcount;
+	LTEXT countrycodes[] = {""};
+	LTEXT regionname;
+	LTEXT regionsettingname;
+	}
+
+STRUCT RADIO_REGION_ARRAY
+	{
+	LLINK regions[];
+	}
+
+// ---------------------------------------------------------
+//
+//    r_radio_regions_all
+//    Array of all the supported regions
+//
+// ---------------------------------------------------------
+//
+RESOURCE RADIO_REGION_ARRAY r_radio_regions_all
+	{
+	regions = 
+		{
+		r_radio_region_japan,
+		r_radio_region_america,
+		r_radio_region_default
+		};
+	}
+
+// ---------------------------------------------------------
+//
+//    r_radio_regions_without_japan
+//    Array of supported regions without Japan
+//
+// ---------------------------------------------------------
+//
+RESOURCE RADIO_REGION_ARRAY r_radio_regions_without_japan
+	{
+	regions = 
+		{		
+		r_radio_region_america,
+		r_radio_region_default
+		};
+	}
+	
+// ---------------------------------------------------------
+//
+//    r_radio_region_japan
+//    Region settings for Japan
+//    Check country codes from: 
+//    "COMPLEMENT TO ITU-T RECOMMENDATION E.212, LIST OF MOBILE COUNTRY OR GEOGRAPHICAL AREA CODES"
+// ---------------------------------------------------------
+//
+RESOURCE RADIO_REGION r_radio_region_japan
+	{
+	id = EFMRadioRegionJapan;
+	stepsize = 100;
+	minfrequency = 76000;
+	maxfrequency = 90000;
+	decimalcount = 1;
+	countrycodes = 
+		{
+		"440",
+		"441"
+		};
+	regionname = qtn_fmradio_reg_japan;
+	}
+
+// ---------------------------------------------------------
+//
+//    r_radio_region_america
+//    Region settings for America
+//    "COMPLEMENT TO ITU-T RECOMMENDATION E.212, LIST OF MOBILE COUNTRY OR GEOGRAPHICAL AREA CODES"
+//
+// ---------------------------------------------------------
+//
+RESOURCE RADIO_REGION r_radio_region_america
+	{
+	id = EFMRadioRegionAmerica;
+	stepsize = 200;
+	minfrequency = 88100;
+	maxfrequency = 107900;
+	decimalcount = 1;
+	countrycodes = 
+		{
+		"302",  // Canada
+		"310",  // USA
+		"311",  // USA
+		"312",  // USA
+		"313",  // USA
+		"314",  // USA
+		"315",  // USA
+		"316",  // USA
+		"332",  // USA
+		"334",  // Mexico
+		"338",  // Jamaica
+		"342",  // Barbados
+		"344",  // Antigua and Barbuda
+		"352",  // Grenada
+		"360",  // Saint Vincent and the Grenadines
+		"364",  // Bahamas
+		"366",  // Common Wealth of Dominica
+		"370",  // Dominican Republic
+		"372",  // Haiti
+		"374",  // Trinidad and Tobago
+		"368",  // Cuba
+		"702",  // Belize
+		"704",  // Guatemala
+		"706",  // El Salvador
+		"708",  // Honduras
+		"710",  // Nicaragua
+		"712",  // Costa Rica
+		"714",  // Panama
+		"716",  // Peru
+		"724",  // Brazil
+		"730",  // Chile
+		"732",  // Colombia
+		"734",  // Venezuela
+		"736",  // Bolivia
+		"738",  // Guyana
+		"740",  // Ecuador
+		"744",  // Paraguay
+		"746",  // Suriname
+		"748"   // Uruguay
+		};
+	regionname = qtn_fmradio_reg_america;
+	}
+
+// ---------------------------------------------------------
+//
+//    r_radio_region_default
+//    Region settings for default region
+//
+// ---------------------------------------------------------
+//
+RESOURCE RADIO_REGION r_radio_region_default
+	{
+	id = EFMRadioRegionDefault;
+	stepsize = 50;
+	minfrequency = 87500;
+	maxfrequency = 108000;
+	decimalcount = 2;
+	regionname = qtn_fmradio_reg_other;
+	}