internetradio2.0/resources/ir.hrh
changeset 0 09774dfdd46b
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     1 /*
       
     2 * Copyright (c) 2006-2008 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 headers for project InternetRadio
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /* ---------------------------------------------------------------------------
       
    20 *  Version history:
       
    21 *  Template version:
       
    22 *  <ccm_history>
       
    23 *
       
    24 *  Version: 21, Tue Mar 11 20:00:00 2008 by Rohit
       
    25 *  Ref:
       
    26 *  Merged IRv1.0 Engine code changes
       
    27 *
       
    28 *  </ccm_history>
       
    29 * ============================================================================
       
    30 */
       
    31 
       
    32 #ifndef IR_HRH
       
    33 #define IR_HRH
       
    34 
       
    35 #include <bldvariant.hrh>
       
    36 #define KPbk2NullIconIdOwnerUid     0
       
    37 
       
    38 /** 
       
    39 IR enumerate command codes 
       
    40 */
       
    41 enum TIRIds
       
    42 	{
       
    43 	EIRMainChoiceView = 1,			// start value must not be 0
       
    44 	EIRDiscoverStationsView,
       
    45 	EIRBrowsebyStationMap,
       
    46 	EIRBrowseByGenreView,
       
    47 	EIRBrowseByLanguageView,
       
    48 	EIRBrowseByCountryView,
       
    49 	EIRStationsView,
       
    50 	EIRSavedStationsView,
       
    51 	EIRNowPlayingView,
       
    52 	EIRAddManuallyStationView,
       
    53 	EIRSearchView,
       
    54 	EIRSearchListView,
       
    55 	EIRProgressBarView,
       
    56 	EIRBufferingView,
       
    57 	ESelectCmd,
       
    58 	EGotoNowPlayingViewCmd,
       
    59 	EAddStationManuallyCmd,
       
    60 	EAddtoStationsCmd,
       
    61 	EAddtoFavouritesCmd,
       
    62 	ESendtoFriendCmd,
       
    63 	EUpdateAppCmd,
       
    64 	ESettingsCmd,
       
    65 	EHelpCmd,
       
    66 	EChangeCmd,
       
    67 	EExitCmd,
       
    68 	EIRBack,
       
    69 	EIRExit,
       
    70 	EListenCmd,
       
    71 	EStationsCmd,
       
    72 	EStationDetailsCmd,
       
    73 	EMoveCmd,
       
    74 	EDeleteCmd,
       
    75 	EAddStationCmd,
       
    76 	EStopCmd,
       
    77 	EPlayCmd,
       
    78 	//EStationInfoCmd,
       
    79 	ESaveStationCmd,
       
    80 	ESearchCmd,
       
    81 	//EIRStationInformationView,
       
    82 	EIROk,
       
    83 	EIRCancel,
       
    84 	EIRAccept,
       
    85 	EIRRequestGenreData,
       
    86 	EIRRequestLanguageData,
       
    87 	EIRRequestCountryData,
       
    88 	EIRRequestTopStationsData,
       
    89 	EIRRequestECatagoryData,
       
    90 	EIRRequestChannelData,
       
    91 	EIROkayCmd,
       
    92 	ESaveCmd,
       
    93 	ESaveAllCmd,
       
    94 	ESettingsEditCmd,
       
    95 	ESearchAgainCmd, 	//Search again if search fails.
       
    96 	EStationInformationCmd,	// Launch Station Info view
       
    97 	EProgressDialog,    //Added For Search Progress Bar
       
    98 	EIRMoveCancel, // Cancel for saved stations view move option
       
    99 	EIRDelayedPlayStation,
       
   100 	EVRCmdListenChannel,
       
   101 	EAdvertisementUrl,
       
   102 	EVRCmdShowVisualContent,
       
   103 	EVRCmdOpenSetupView,
       
   104 	EVRCmdMoveChannel,
       
   105 	EVRCmdDeleteChannel,
       
   106 	EExportFavCmd,
       
   107 	EEditStationsCmd,
       
   108 	EClearCmd,
       
   109 	EFirstTimeSelectCmd,
       
   110 	EUpdateApplicationCmd,
       
   111 	EFirstTimeSettingsCmd,
       
   112 	EFindStationsCmd,
       
   113 	EHistoryCmd,
       
   114 	EDeleteInProgress,
       
   115     EIRCmdShowVisualContent,	// 9 enums used by Now Playing view
       
   116 	EIRCmdStepNextPreset,
       
   117 	EIRCmdStepPrevPreset,
       
   118 	EIRCmdTuneUp,
       
   119 	EIRCmdTuneDown,
       
   120 	EIRCmdPlay,
       
   121 	EIRCmdStop,
       
   122 	EPrevCmd,
       
   123 	ENextCmd,
       
   124 	
       
   125 	EISDSRec,			// Added for Byte Counter testing (to be rmoved)
       
   126 	EISDSSend,
       
   127 	EAudioRec,
       
   128 	EAudioSend,
       
   129 	EIRContinue, 	
       
   130 	EPbk2qgn_indi_tb_prev,	
       
   131 	EPbk2qgn_indi_tb_play,
       
   132 	EPbk2qgn_indi_tb_avail_next,
       
   133 	EIRCmdChangeSetting,
       
   134 	EIRSettingItemSnapSelectionID,
       
   135 	EIRSettingItemGprsConnBitRateID,
       
   136 	EIRSettingItem3GConnBitRateID,
       
   137     EIRSettingItemWiFiConnBitRateID,
       
   138     EFmRecOrPhone,
       
   139     EStereoMode,
       
   140     EEqualizer,
       
   141     EFindInShop,
       
   142     EGotoMusicStore,
       
   143     EHistory,
       
   144     EOnCmd,
       
   145     EOffCmd,
       
   146     EMarkUnmark,
       
   147     EMark,
       
   148     EMarkAll,
       
   149     EUnmark,
       
   150     EUnmarkAll,
       
   151     EGoToMainView,
       
   152     EIRCmdVolumeControl,
       
   153     EGotoMainView,
       
   154     	
       
   155     	
       
   156     EIRAddManuallyStationCommand1,
       
   157     EaddstaionCommand2, 
       
   158       EAddStaionName,
       
   159     EAddStaionURL,
       
   160    // EAddStaionName,
       
   161     EAddStaionDescription, // start value must not be 0
       
   162     EGoToNowPlaying,
       
   163     EUpdateApplication,
       
   164     EAddHelp,
       
   165     EAddExit ,
       
   166     EButton1,
       
   167     EButton2,
       
   168     EButton3	
       
   169 	};
       
   170 	
       
   171 	//----- BatteryIndicator Start
       
   172 
       
   173 enum TSysInfoCommandIds
       
   174 	{
       
   175 	ESysInfoCmdAppTest = 1
       
   176 	};
       
   177 
       
   178 enum TSysInfoTabViewId
       
   179 	{
       
   180 	ESysInfoView1Tab= 1,
       
   181 	ESysInfoView2Tab,
       
   182 	ESysInfoView3Tab
       
   183 	};
       
   184 
       
   185 	
       
   186 enum TState
       
   187 	{
       
   188 	EStateBatteryInfo = 0,
       
   189 	EStateCurrentNetwork,
       
   190 	EStateHomeOperator,
       
   191 	EStateNetworkType
       
   192 	};
       
   193 	
       
   194 enum TChargerStatus
       
   195 	{
       
   196 	EChargerStatusOff = 0,
       
   197 	EChargerStatusOn,
       
   198 	EChargerStatusAlmostFull,
       
   199 	EChargerStatusFull,
       
   200 	EChargerStatusError
       
   201 	};
       
   202 
       
   203 // Use these flags in IR_BITMAP_BUTTON_LAYOUT keys field. These values are bitwise flags
       
   204 #define EIRRockerButtonKeyRight         0x0001
       
   205 #define EIRRockerButtonKeyRightLong     0x0002
       
   206 #define EIRRockerButtonKeyLeft          0x0004
       
   207 #define EIRRockerButtonKeyLeftLong      0x0008
       
   208 #define EIRRockerButtonKeyMiddle        0x0010
       
   209 #define EIRRockerButtonKeyMiddleLong    0x0020
       
   210 #define EIRRockerButtonKeyUp            0x0040
       
   211 #define EIRRockerButtonKeyUpLong        0x0080
       
   212 #define EIRRockerButtonKeyDown          0x0100
       
   213 #define EIRRockerButtonKeyDownLong      0x0200
       
   214 #define EPbk2NullIconId                  -1
       
   215 #define ENow2NullIconArrayId             -1
       
   216  
       
   217 //---Battery Indicator End
       
   218 
       
   219 // Disable Radio Launcher for others than S60 3.2 environment.
       
   220 // #undef __DISABLE_RADIO_LAUNCHER
       
   221 // #ifndef __S60_32__
       
   222 // #define __DISABLE_RADIO_LAUNCHER
       
   223 // #endif // __S60_32__
       
   224 
       
   225 // Enable the removal of Internet Radio Updater that is used to remove 
       
   226 // 1.0/1.1 installations.
       
   227 //#define __SHIPPING_METHOD_UPDATER
       
   228 
       
   229 
       
   230 #endif // __IR_HRH__