tsrc/CenrepEditor/data/cenrepeditor.rss
changeset 0 f0cf47e981f9
child 2 b31261fd4e04
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  This file contains all the resources for the AiwTestApp.
       
    15 *                Initial content was generated by Series 60 AppWizard.
       
    16 *
       
    17 */
       
    18 
       
    19 // RESOURCE IDENTIFIER
       
    20 NAME    CENR // 4 letter ID
       
    21 
       
    22 // INCLUDES
       
    23 #include <eikon.rh>
       
    24 #include <avkon.rsg>
       
    25 #include <avkon.rh>
       
    26 #include <avkon.mbg>
       
    27 #include <avkon.loc>
       
    28 #include <appinfo.rh>
       
    29 #include <data_caging_paths_strings.hrh>
       
    30 
       
    31 #include "cenrepeditor.hrh"
       
    32 #include "cenrepeditor.loc"
       
    33 
       
    34 
       
    35 // RESOURCE DEFINITIONS 
       
    36 RESOURCE RSS_SIGNATURE { }
       
    37 RESOURCE TBUF { buf = "CenrepEditor"; }
       
    38 
       
    39 //----------------------------------------------------
       
    40 //   
       
    41 //    eik_app_info
       
    42 //
       
    43 //----------------------------------------------------
       
    44 //
       
    45 RESOURCE EIK_APP_INFO
       
    46     {
       
    47     hotkeys = r_cenrepeditor_hotkeys;
       
    48     menubar = r_cenrepeditor_menubar;
       
    49     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; 
       
    50     status_pane = r_avkonviewexample_status_pane;    
       
    51     }
       
    52 
       
    53 //----------------------------------------------------
       
    54 //   
       
    55 //    r_aiwtest_hotkeys
       
    56 //
       
    57 //----------------------------------------------------
       
    58 //
       
    59 RESOURCE HOTKEYS r_cenrepeditor_hotkeys
       
    60     {
       
    61     control =
       
    62         {
       
    63         HOTKEY { command = EAknCmdExit; key='e'; }
       
    64         };
       
    65     }
       
    66 
       
    67 //----------------------------------------------------
       
    68 //   
       
    69 //    r_aiwtest_menubar
       
    70 //
       
    71 //----------------------------------------------------
       
    72 //
       
    73 RESOURCE MENU_BAR r_cenrepeditor_menubar
       
    74     {
       
    75     titles =
       
    76         {
       
    77         MENU_TITLE { menu_pane = r_cenrepeditor_menu; txt = "File"; }        
       
    78         };
       
    79     }
       
    80 
       
    81 //----------------------------------------------------
       
    82 //   
       
    83 //    r_aiwtest_menu
       
    84 //
       
    85 //----------------------------------------------------
       
    86 //
       
    87 RESOURCE MENU_PANE r_cenrepeditor_menu
       
    88     {
       
    89     items =
       
    90         {
       
    91         //MENU_ITEM { command = 1000; txt = "Change"; },        
       
    92         //MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
       
    93         };
       
    94     }
       
    95 
       
    96 // -----------------------------------------------------------------------------
       
    97 //   
       
    98 // r_aiwtest_localisable_app_info
       
    99 //
       
   100 // -----------------------------------------------------------------------------
       
   101 //
       
   102 RESOURCE LOCALISABLE_APP_INFO r_cenrepeditor_localisable_app_info
       
   103     {
       
   104     short_caption = "CenrepEditor";
       
   105     caption_and_icon = 
       
   106     CAPTION_AND_ICON_INFO
       
   107         {
       
   108         caption = "CenrepEditor";
       
   109 #ifdef __SCALABLE_ICONS
       
   110         number_of_icons = 1;
       
   111 #else
       
   112         number_of_icons = 2;
       
   113 #endif
       
   114         };
       
   115     }
       
   116     
       
   117 RESOURCE STATUS_PANE_APP_MODEL r_avkonviewexample_status_pane
       
   118     {
       
   119 	panes =
       
   120 		{
       
   121 		SPANE_PANE
       
   122 			{
       
   123 			id = EEikStatusPaneUidNavi;
       
   124 			type = EAknCtNaviPane;
       
   125 			resource = r_avkonviewexample_navi_decorator;
       
   126 			}
       
   127 		};
       
   128     }
       
   129 
       
   130 //----------------------------------------------------
       
   131 //   
       
   132 //    r_avkonviewexample_navi_decorator
       
   133 //
       
   134 //----------------------------------------------------
       
   135 //
       
   136 RESOURCE NAVI_DECORATOR r_avkonviewexample_navi_decorator
       
   137     {
       
   138     type = ENaviDecoratorControlTabGroup;
       
   139     control = TAB_GROUP
       
   140 		{
       
   141 		tab_width = EAknTabWidthWithThreeTabs;  // three tabs
       
   142 		active = 0;
       
   143 		tabs = {
       
   144 			TAB
       
   145 				{
       
   146                 id = EAvkonViewExampleView1Tab; // from application hrh
       
   147                 txt = qtn_view1_tab;
       
   148                 },
       
   149 			TAB
       
   150 				{
       
   151                 id = EAvkonViewExampleView2Tab;
       
   152                 txt = qtn_view2_tab;
       
   153 				},
       
   154 			TAB
       
   155 				{
       
   156                 id = EAvkonViewExampleView3Tab;
       
   157                 txt = qtn_view3_tab;
       
   158 				}
       
   159 			};
       
   160 		};
       
   161 	}
       
   162 
       
   163 
       
   164 //----------------------------------------------------
       
   165 //   
       
   166 //    r_avkonviewexample_view1
       
   167 //
       
   168 //----------------------------------------------------
       
   169 //
       
   170 RESOURCE AVKON_VIEW r_cenrepeditor_view1
       
   171     {
       
   172     hotkeys = r_cenrepeditor_hotkeys;
       
   173     menubar = r_cenrepeditor_menubar;  
       
   174     cba     = r_cenrepeditor_softkeys_save_exit;    
       
   175     }
       
   176     
       
   177 RESOURCE CBA r_cenrepeditor_softkeys_save_exit
       
   178 	{
       
   179 		buttons =
       
   180 			{
       
   181 			CBA_BUTTON
       
   182 				{
       
   183 				id = EAknSoftKeySave;
       
   184 				txt = qtn_cenrepeditor_cba_text_save;
       
   185 				},
       
   186 		CBA_BUTTON
       
   187 				{
       
   188 				id = EAknSoftKeyExit;
       
   189 				txt = qtn_cenrepeditor_cba_text_Exit;
       
   190 				}
       
   191 			};
       
   192 	}
       
   193 RESOURCE AVKON_SETTING_ITEM_LIST r_phone_resource_details_settings_list
       
   194 	{
       
   195     flags= EAknSettingItemNumberedStyle;    
       
   196 	title = qtn_phoneresource_details;
       
   197 	initial_number = 1;
       
   198 	items =     
       
   199 		{
       
   200         AVKON_SETTING_ITEM
       
   201             {
       
   202             identifier = EPhoneResouceCamera;
       
   203             setting_page_resource = r_availability_settings_page;
       
   204             name = "CameraAvailability";
       
   205             associated_resource = r_availability_settings_page_texts;
       
   206             },	
       
   207         AVKON_SETTING_ITEM
       
   208             {
       
   209             identifier = EPhoneResouceKeypad;
       
   210             setting_page_resource = r_availability_settings_page;
       
   211             name = "KeypadAvailability";
       
   212             associated_resource = r_availability_settings_page_texts;
       
   213             },				
       
   214 		AVKON_SETTING_ITEM
       
   215 			{
       
   216 			identifier = EPhoneResouceVideoPlayer;
       
   217 			setting_page_resource = r_availability_settings_page;
       
   218 			name = "VideoPlayerAvailability";
       
   219             associated_resource = r_availability_settings_page_texts;
       
   220 			},
       
   221 		AVKON_SETTING_ITEM
       
   222 			{
       
   223 			identifier = EPhoneResouceCameraInformation;
       
   224 			setting_page_resource = r_CameraInformation_settings_page;
       
   225 			name = "CameraInformation";
       
   226             associated_resource = r_CameraInformation_settings_page_texts;
       
   227 			},
       
   228         AVKON_SETTING_ITEM
       
   229 			{
       
   230 			identifier = EKodiakPhoneCall;
       
   231 			setting_page_resource = r_kodiak_call_settings_page;
       
   232 			name = "KodiakPTT";
       
   233             associated_resource = r_kodiak_call_settings_page_texts;
       
   234 			}
       
   235 		};
       
   236 	}
       
   237 
       
   238 
       
   239 
       
   240 //camera	
       
   241 RESOURCE AVKON_SETTING_PAGE r_availability_settings_page
       
   242     {
       
   243     number = 1;
       
   244     type = EAknCtPopupSettingList;
       
   245     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   246     }
       
   247 
       
   248 
       
   249 RESOURCE AVKON_POPUP_SETTING_TEXTS r_availability_settings_page_texts
       
   250     {
       
   251     setting_texts_resource = r_availability_page_texts_array;
       
   252     popped_up_texts_resource = r_availability_settings_page_popedup;
       
   253     }
       
   254 
       
   255 RESOURCE ARRAY r_availability_page_texts_array
       
   256     {
       
   257         items =
       
   258         {        
       
   259         AVKON_ENUMERATED_TEXT { value=1; text = "1.EAvailable"; },        
       
   260         AVKON_ENUMERATED_TEXT { value=2; text = "2.ENotAvailable"; }
       
   261         };
       
   262     }
       
   263 
       
   264 RESOURCE ARRAY r_availability_settings_page_popedup
       
   265     {
       
   266     items =
       
   267         {        
       
   268         LBUF { txt = "1.EAvailable"; },        
       
   269         LBUF { txt = "2.ENotAvailable"; }        
       
   270         };
       
   271     }
       
   272 
       
   273 //camera information
       
   274 RESOURCE AVKON_SETTING_PAGE r_CameraInformation_settings_page
       
   275     {
       
   276     number = 1;
       
   277     label = "Value";
       
   278     type = EAknCtPopupSettingList;
       
   279     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   280     }
       
   281 
       
   282 RESOURCE AVKON_POPUP_SETTING_TEXTS r_CameraInformation_settings_page_texts
       
   283     {
       
   284     setting_texts_resource = r_CameraInformation_settings_page_texts_array;
       
   285     popped_up_texts_resource = r_CameraInformation_settings_page_popedup;
       
   286     }
       
   287 
       
   288 RESOURCE ARRAY r_CameraInformation_settings_page_texts_array
       
   289     {
       
   290         items =
       
   291         {
       
   292         AVKON_ENUMERATED_TEXT { value=1; text = "1.EUsePrimaryCamera"; },
       
   293         AVKON_ENUMERATED_TEXT { value=2; text = "2.EUseSecondaryCamera"; }        
       
   294         };
       
   295     }
       
   296 
       
   297 RESOURCE ARRAY r_CameraInformation_settings_page_popedup
       
   298     {
       
   299         items =
       
   300         { 
       
   301         LBUF { txt = "1.EUsePrimaryCamera"; },
       
   302         LBUF { txt = "2.EUseSecondaryCamera"; }        
       
   303         };
       
   304     }
       
   305 
       
   306 //kodiak PTT
       
   307 RESOURCE AVKON_SETTING_PAGE r_kodiak_call_settings_page
       
   308     {
       
   309     number = 1;
       
   310     type = EAknCtPopupSettingList;
       
   311     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   312     }
       
   313 
       
   314 RESOURCE AVKON_POPUP_SETTING_TEXTS r_kodiak_call_settings_page_texts
       
   315     {
       
   316     setting_texts_resource = r_kodiak_call_settings_page_texts_array;
       
   317     popped_up_texts_resource = r_kodiak_call_settings_page_popedup;
       
   318     }
       
   319 
       
   320 RESOURCE ARRAY r_kodiak_call_settings_page_texts_array
       
   321     {
       
   322         items =
       
   323         {
       
   324         AVKON_ENUMERATED_TEXT { value=0; text = "0.EPSCTsyKodiakPttNotActive"; },
       
   325         AVKON_ENUMERATED_TEXT { value=1; text = "1.EPSCTsyKodiakPttActive"; }        
       
   326         };
       
   327     }
       
   328 
       
   329 RESOURCE ARRAY r_kodiak_call_settings_page_popedup
       
   330     {
       
   331         items =
       
   332         {
       
   333         LBUF { txt = "0.EPSCTsyKodiakPttNotActive"; },
       
   334         LBUF { txt = "1.EPSCTsyKodiakPttActive"; }        
       
   335         };
       
   336     }
       
   337 
       
   338 RESOURCE POPUP_SETTING_LIST r_enumerated_text_setting_other_editor
       
   339     {    
       
   340    // other="-1.Undefined";
       
   341     }
       
   342 
       
   343 RESOURCE AVKON_INTEGER_EDWIN r_integer_edwin
       
   344     {
       
   345     min = 0;
       
   346     max = 9999;
       
   347     }
       
   348 
       
   349 RESOURCE EDWIN r_encoder_info_editor
       
   350     {
       
   351     maxlength = 2048; //KMaxBinaryLength, centralrepository.h
       
   352     lines = 6;
       
   353     }
       
   354     
       
   355 RESOURCE EDWIN r_encoding_device_editor
       
   356     {
       
   357     maxlength = 8; //KMaxUidStringLength, cenrepeditormodel.h
       
   358     default_case = EAknEditorLowerCase;
       
   359     //allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode
       
   360     }
       
   361 
       
   362 
       
   363 RESOURCE AVKON_SETTING_ITEM_LIST r_other_resource_details_settings_list
       
   364 	{
       
   365     flags= EAknSettingItemNumberedStyle; 
       
   366 	title = qtn_otherresource_details;
       
   367 	initial_number = 1;
       
   368 	items =     
       
   369 		{
       
   370 		AVKON_SETTING_ITEM
       
   371 			{
       
   372 			identifier = EOtherResourceActivation;
       
   373 			setting_page_resource = r_activation_editor_settings_page;
       
   374 			name = "Activation";
       
   375             associated_resource = r_activation_editor_settings_page_texts;
       
   376 			},
       
   377 		AVKON_SETTING_ITEM
       
   378 			{
       
   379 			identifier = EOtherResourceOperatorVariant;
       
   380 			setting_page_resource = r_operator_editor_settings_page;
       
   381 			name = "OperatorVariant";
       
   382             associated_resource = r_operator_editor_settings_page_texts;
       
   383 			},
       
   384 		AVKON_SETTING_ITEM
       
   385 			{
       
   386 			identifier = EOtherResourceAuditoryNotification;
       
   387 			setting_page_resource = r_Auditory_editor_settings_page;
       
   388 			name = "AuditoryNotification";
       
   389             associated_resource = r_Auditory_editor_settings_page_texts;
       
   390 			},
       
   391 		AVKON_SETTING_ITEM
       
   392 			{
       
   393 			identifier = EOtherResourcePopupNotification;
       
   394 			setting_page_resource = r_Popup_editor_settings_page;
       
   395 			name = "PopupNotification";
       
   396             associated_resource = r_Popup_editor_settings_page_texts;
       
   397 			},
       
   398 		AVKON_SETTING_ITEM
       
   399 			{
       
   400 			identifier = EOtherResourcePopupNotificationType;
       
   401 			setting_page_resource = r_PopupType_editor_settings_page;
       
   402 			name = "PopupNotificationType";
       
   403             associated_resource = r_PopupType_editor_settings_page_texts;
       
   404 			},
       
   405 		AVKON_SETTING_ITEM
       
   406 			{
       
   407 			identifier = EOtherResourceEdgeDtmSupport;
       
   408 			setting_page_resource = r_edgedtm_editor_settings_page;
       
   409 			name = "EdgeDtmSupport";
       
   410             associated_resource = r_edgedtm_editor_settings_page_texts;
       
   411 			},
       
   412 		AVKON_SETTING_ITEM
       
   413 			{
       
   414 			identifier = EOtherResourceSessionSetupMethod;
       
   415 			setting_page_resource = r_signal_editor_settings_page;
       
   416 			name = "ForceInternetSignaling";
       
   417             associated_resource = r_signal_editor_settings_page_texts;
       
   418 			},
       
   419 		AVKON_SETTING_ITEM
       
   420 			{
       
   421 			identifier = EOtherResourceAutoRecord;
       
   422 			setting_page_resource = r_videosaving_editor_settings_page;
       
   423 			name = "AutoRecord";
       
   424             associated_resource = r_videosaving_editor_settings_page_texts;
       
   425 			},
       
   426 		AVKON_SETTING_ITEM
       
   427 			{
       
   428 			identifier = EOtherResourceVideoLocation;
       
   429 			setting_page_resource = r_editor_settings_page;
       
   430 			name = "VideoLocation";            
       
   431 			},
       
   432 		AVKON_SETTING_ITEM
       
   433 			{
       
   434 			identifier = EOtherResourceSipProfileId;
       
   435 			setting_page_resource = r_editor_settings_page;
       
   436 			name = "SipProfileId";            
       
   437 			},
       
   438 		AVKON_SETTING_ITEM
       
   439 			{
       
   440 			identifier = EOtherResourceUiOrientation;
       
   441 			setting_page_resource = r_uiorientation_editor_settings_page;
       
   442 			name = "UiOrientation";
       
   443             associated_resource = r_uiorientation_editor_settings_page_texts;
       
   444 			},
       
   445 		AVKON_SETTING_ITEM
       
   446 			{
       
   447 			identifier = EOtherResourceCapabilityQuery;
       
   448 			setting_page_resource = r_capquery_editor_settings_page;
       
   449 			name = "CapabilityQuery";
       
   450             associated_resource = r_capquery_editor_settings_page_texts;
       
   451 			},
       
   452 		AVKON_SETTING_ITEM
       
   453 			{
       
   454 			identifier = EOtherResourceProductModeVariationKey;
       
   455 			setting_page_resource = r_editor_settings_page;
       
   456 			name = "ProductModeVariation";            
       
   457 			},
       
   458 		AVKON_SETTING_ITEM
       
   459             {
       
   460             identifier = EOtherRResourcePrivacyVariationMode;
       
   461             setting_page_resource = r_privacy_settings_page;
       
   462             name = "Privacy variation";
       
   463             associated_resource = r_privacy_editor_settings_page_texts;
       
   464             },
       
   465 		AVKON_SETTING_ITEM
       
   466 		    {
       
   467 		    identifier = EOtherResourceEncoderConfigurationInfo;
       
   468 		    setting_page_resource = r_encoder_info_settings_page;
       
   469 		    name = "EncoderConfigurationInfo";            
       
   470 		    },
       
   471 		AVKON_SETTING_ITEM
       
   472 		    {
       
   473 		    identifier = EOtherResourceEncodingDevice;
       
   474 		    setting_page_resource = r_encoding_device_settings_page;
       
   475 		    name = "EncodingDevice";            
       
   476 		    }
       
   477 		};
       
   478 	}
       
   479 	
       
   480 //activation
       
   481 RESOURCE AVKON_SETTING_PAGE r_activation_editor_settings_page
       
   482     {
       
   483     number = 1;
       
   484     type = EAknCtPopupSettingList;
       
   485     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   486     }
       
   487 
       
   488 RESOURCE AVKON_POPUP_SETTING_TEXTS r_activation_editor_settings_page_texts
       
   489     {
       
   490     setting_texts_resource = r_activation_editor_settings_page_texts_array;
       
   491     popped_up_texts_resource = r_activation_editor_settings_page_popedup;
       
   492     }
       
   493 
       
   494 RESOURCE ARRAY r_activation_editor_settings_page_texts_array
       
   495     {
       
   496         items =
       
   497         {
       
   498         AVKON_ENUMERATED_TEXT { value=0; text = "0.EAlwaysActive"; },
       
   499         AVKON_ENUMERATED_TEXT { value=1; text = "1.EActiveInHomeNetworks"; },        
       
   500         AVKON_ENUMERATED_TEXT { value=2; text = "2.ENever"; }        
       
   501         };
       
   502     }
       
   503 
       
   504 RESOURCE ARRAY r_activation_editor_settings_page_popedup
       
   505     {
       
   506         items =
       
   507         {
       
   508         LBUF { txt = "0.EAlwaysActive"; },
       
   509         LBUF { txt = "1.EActiveInHomeNetworks"; },        
       
   510         LBUF { txt = "2.ENever"; }
       
   511         };
       
   512     }
       
   513 
       
   514 //operator variant
       
   515 RESOURCE AVKON_SETTING_PAGE r_operator_editor_settings_page
       
   516     {
       
   517     number = 1;
       
   518     type = EAknCtPopupSettingList;
       
   519     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   520     }
       
   521 
       
   522 RESOURCE AVKON_POPUP_SETTING_TEXTS r_operator_editor_settings_page_texts
       
   523     {
       
   524     setting_texts_resource = r_operator_editor_settings_page_texts_array;
       
   525     popped_up_texts_resource = r_operator_editor_settings_page_popedup;
       
   526     }
       
   527 
       
   528 RESOURCE ARRAY r_operator_editor_settings_page_texts_array
       
   529     {
       
   530         items =
       
   531         {
       
   532         AVKON_ENUMERATED_TEXT { value=0; text = "0.EStandard"; },
       
   533         AVKON_ENUMERATED_TEXT { value=1; text = "1.EOperatorSpecific"; }        
       
   534         };
       
   535     }
       
   536 
       
   537 RESOURCE ARRAY r_operator_editor_settings_page_popedup
       
   538     {
       
   539         items =
       
   540         {
       
   541         LBUF { txt = "0.EStandard"; },
       
   542         LBUF { txt = "1.EOperatorSpecific"; }        
       
   543         };
       
   544     }
       
   545 
       
   546 //Auditory Notification
       
   547 RESOURCE AVKON_SETTING_PAGE r_Auditory_editor_settings_page
       
   548     {
       
   549     number = 1;
       
   550     type = EAknCtPopupSettingList;
       
   551     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   552     }
       
   553 
       
   554 RESOURCE AVKON_POPUP_SETTING_TEXTS r_Auditory_editor_settings_page_texts
       
   555     {
       
   556     setting_texts_resource = r_Auditory_editor_settings_page_texts_array;
       
   557     popped_up_texts_resource = r_Auditory_editor_settings_page_popedup;
       
   558     }
       
   559 
       
   560 RESOURCE ARRAY r_Auditory_editor_settings_page_texts_array
       
   561     {
       
   562         items =
       
   563         {
       
   564         AVKON_ENUMERATED_TEXT { value=0; text = "0.EAuditoryNotificationOn"; },
       
   565         AVKON_ENUMERATED_TEXT { value=1; text = "1.EAuditoryNotificationOff"; }        
       
   566         };
       
   567     }
       
   568 
       
   569 RESOURCE ARRAY r_Auditory_editor_settings_page_popedup
       
   570     {
       
   571         items =
       
   572         {
       
   573         LBUF { txt = "0.EAuditoryNotificationOn"; },
       
   574         LBUF { txt = "1.EAuditoryNotificationOff"; }        
       
   575         };
       
   576     }
       
   577 
       
   578 
       
   579 //Popup Notification
       
   580 RESOURCE AVKON_SETTING_PAGE r_Popup_editor_settings_page
       
   581     {
       
   582     number = 1;
       
   583     type = EAknCtPopupSettingList;
       
   584     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   585     }
       
   586 
       
   587 RESOURCE AVKON_POPUP_SETTING_TEXTS r_Popup_editor_settings_page_texts
       
   588     {
       
   589     setting_texts_resource = r_Popup_editor_settings_page_texts_array;
       
   590     popped_up_texts_resource = r_Popup_editor_settings_page_popedup;
       
   591     }
       
   592 
       
   593 RESOURCE ARRAY r_Popup_editor_settings_page_texts_array
       
   594     {
       
   595         items =
       
   596         {
       
   597         AVKON_ENUMERATED_TEXT { value=0; text = "0.EPopupNotificationOn"; },
       
   598         AVKON_ENUMERATED_TEXT { value=1; text = "1.EPopupNotificationOff"; }        
       
   599         };
       
   600     }
       
   601 
       
   602 RESOURCE ARRAY r_Popup_editor_settings_page_popedup
       
   603     {
       
   604         items =
       
   605         {        
       
   606         LBUF { txt = "0.EPopupNotificationOn"; },
       
   607         LBUF { txt = "1.EPopupNotificationOff"; }        
       
   608         };
       
   609     }
       
   610 
       
   611 //Popup Notification Type
       
   612 RESOURCE AVKON_SETTING_PAGE r_PopupType_editor_settings_page
       
   613     {
       
   614     number = 1;
       
   615     type = EAknCtPopupSettingList;
       
   616     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   617     }
       
   618 
       
   619 RESOURCE AVKON_POPUP_SETTING_TEXTS r_PopupType_editor_settings_page_texts
       
   620     {
       
   621     setting_texts_resource = r_PopupType_editor_settings_page_texts_array;
       
   622     popped_up_texts_resource = r_PopupType_editor_settings_page_popedup;
       
   623     }
       
   624 
       
   625 RESOURCE ARRAY r_PopupType_editor_settings_page_texts_array
       
   626     {
       
   627         items =
       
   628         {
       
   629         AVKON_ENUMERATED_TEXT { value=0; text = "0.ENotificationTypeQueryUser"; },
       
   630         AVKON_ENUMERATED_TEXT { value=1; text = "1.ENotificationTypePopup"; }        
       
   631         };
       
   632     }
       
   633 
       
   634 RESOURCE ARRAY r_PopupType_editor_settings_page_popedup
       
   635     {
       
   636         items =
       
   637         {
       
   638         LBUF { txt = "0.ENotificationTypeQueryUser"; },
       
   639         LBUF { txt = "1.ENotificationTypePopup"; }        
       
   640         };
       
   641     }
       
   642 
       
   643 
       
   644 //EDGE/DTM
       
   645 RESOURCE AVKON_SETTING_PAGE r_edgedtm_editor_settings_page
       
   646     {
       
   647     number = 1;
       
   648     type = EAknCtPopupSettingList;
       
   649     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   650     }
       
   651 
       
   652 RESOURCE AVKON_POPUP_SETTING_TEXTS r_edgedtm_editor_settings_page_texts
       
   653     {
       
   654     setting_texts_resource = r_edgedtm_editor_settings_page_texts_array;
       
   655     popped_up_texts_resource = r_edgedtm_editor_settings_page_popedup;
       
   656     }
       
   657 
       
   658 RESOURCE ARRAY r_edgedtm_editor_settings_page_texts_array
       
   659     {
       
   660         items =
       
   661         {
       
   662         AVKON_ENUMERATED_TEXT { value=0; text = "0.EDtmModeAllowed"; },
       
   663         AVKON_ENUMERATED_TEXT { value=1; text = "1.EDtmModeNotAllowed"; }        
       
   664         };
       
   665     }
       
   666 
       
   667 RESOURCE ARRAY r_edgedtm_editor_settings_page_popedup
       
   668     {
       
   669         items =
       
   670         {
       
   671         LBUF { txt = "0.EDtmModeAllowed"; },
       
   672         LBUF { txt = "1.EDtmModeNotAllowed"; }        
       
   673         };
       
   674     }
       
   675 
       
   676 //Internet Signalling
       
   677 RESOURCE AVKON_SETTING_PAGE r_signal_editor_settings_page
       
   678     {
       
   679     number = 1;
       
   680     type = EAknCtPopupSettingList;
       
   681     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   682     }
       
   683 
       
   684 RESOURCE AVKON_POPUP_SETTING_TEXTS r_signal_editor_settings_page_texts
       
   685     {
       
   686     setting_texts_resource = r_signal_editor_settings_page_texts_array;
       
   687     popped_up_texts_resource = r_signal_editor_settings_page_popedup;
       
   688     }
       
   689 
       
   690 RESOURCE ARRAY r_signal_editor_settings_page_texts_array
       
   691     {
       
   692         items =
       
   693         {
       
   694         AVKON_ENUMERATED_TEXT { value=0; text = "0.EForceInternetSignaling"; },
       
   695         AVKON_ENUMERATED_TEXT { value=1; text = "1.EFollowProfileConfiguration"; }        
       
   696         };
       
   697     }
       
   698 
       
   699 RESOURCE ARRAY r_signal_editor_settings_page_popedup
       
   700     {
       
   701         items =
       
   702         {
       
   703         LBUF { txt = "0.EForceInternetSignaling"; },
       
   704         LBUF { txt = "1.EFollowProfileConfiguration"; }        
       
   705         };
       
   706     }
       
   707 
       
   708 //Video Saving 
       
   709 RESOURCE AVKON_SETTING_PAGE r_videosaving_editor_settings_page
       
   710     {
       
   711     number = 1;
       
   712     type = EAknCtPopupSettingList;
       
   713     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   714     }
       
   715 
       
   716 RESOURCE AVKON_POPUP_SETTING_TEXTS r_videosaving_editor_settings_page_texts
       
   717     {
       
   718     setting_texts_resource = r_videosaving_editor_settings_page_texts_array;
       
   719     popped_up_texts_resource = r_videosaving_editor_settings_page_popedup;
       
   720     }
       
   721 
       
   722 RESOURCE ARRAY r_videosaving_editor_settings_page_texts_array
       
   723     {
       
   724         items =
       
   725         {
       
   726         AVKON_ENUMERATED_TEXT { value=0; text = "0.EAutoRecordOn"; },
       
   727         AVKON_ENUMERATED_TEXT { value=1; text = "1.EAutoRecordOff"; }
       
   728         };
       
   729     }
       
   730 
       
   731 RESOURCE ARRAY r_videosaving_editor_settings_page_popedup
       
   732     {
       
   733         items =
       
   734         {
       
   735         LBUF { txt = "0.EAutoRecordOn"; },
       
   736         LBUF { txt = "1.EAutoRecordOff"; } 
       
   737         };
       
   738     }
       
   739 
       
   740 //UI Orientation
       
   741 RESOURCE AVKON_SETTING_PAGE r_uiorientation_editor_settings_page
       
   742     {
       
   743     number = 1;
       
   744     type = EAknCtPopupSettingList;
       
   745     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   746     }
       
   747 
       
   748 RESOURCE AVKON_POPUP_SETTING_TEXTS r_uiorientation_editor_settings_page_texts
       
   749     {
       
   750     setting_texts_resource = r_uiorientation_editor_settings_page_texts_array;
       
   751     popped_up_texts_resource = r_uiorientation_editor_settings_page_popedup;
       
   752     }
       
   753 
       
   754 RESOURCE ARRAY r_uiorientation_editor_settings_page_texts_array
       
   755     {
       
   756         items =
       
   757         {
       
   758         AVKON_ENUMERATED_TEXT { value=0; text = "0.EPortrait"; },
       
   759         AVKON_ENUMERATED_TEXT { value=1; text = "1.ELandscape"; }        
       
   760         };
       
   761     }
       
   762 
       
   763 RESOURCE ARRAY r_uiorientation_editor_settings_page_popedup
       
   764     {
       
   765         items =
       
   766         {
       
   767         LBUF { txt = "0.EPortrait"; },
       
   768         LBUF { txt = "1.ELandscape"; }               
       
   769         };
       
   770     }
       
   771 
       
   772 //Capability Query
       
   773 RESOURCE AVKON_SETTING_PAGE r_capquery_editor_settings_page
       
   774     {
       
   775     number = 1;
       
   776     type = EAknCtPopupSettingList;
       
   777     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   778     }
       
   779 
       
   780 RESOURCE AVKON_POPUP_SETTING_TEXTS r_capquery_editor_settings_page_texts
       
   781     {
       
   782     setting_texts_resource = r_capquery_editor_settings_page_texts_array;
       
   783     popped_up_texts_resource = r_capquery_editor_settings_page_popedup;
       
   784     }
       
   785 
       
   786 RESOURCE ARRAY r_capquery_editor_settings_page_texts_array
       
   787     {
       
   788         items =
       
   789         {
       
   790         AVKON_ENUMERATED_TEXT { value=0; text = "0.ESequential"; },
       
   791         AVKON_ENUMERATED_TEXT { value=1; text = "1.EParallel"; },        
       
   792         AVKON_ENUMERATED_TEXT { value=2; text = "2.ENoOptions"; }   
       
   793         };
       
   794     }
       
   795 
       
   796 RESOURCE ARRAY r_capquery_editor_settings_page_popedup
       
   797     {
       
   798         items =
       
   799         {
       
   800         LBUF { txt = "0.ESequential"; },
       
   801         LBUF { txt = "1.EParallel"; },               
       
   802         LBUF { txt = "2.ENoOptions"; }               
       
   803         };
       
   804     }
       
   805 
       
   806 //Privacy
       
   807 RESOURCE AVKON_SETTING_PAGE r_privacy_settings_page
       
   808     {
       
   809     number = 1;
       
   810     type = EAknCtPopupSettingList;
       
   811     editor_resource_id = r_enumerated_text_setting_other_editor;
       
   812     }
       
   813 
       
   814 RESOURCE AVKON_POPUP_SETTING_TEXTS r_privacy_editor_settings_page_texts
       
   815     {
       
   816     setting_texts_resource = r_privacy_editor_settings_page_texts_array;
       
   817     popped_up_texts_resource = r_privacy_editor_settings_page_popedup;
       
   818     }
       
   819 
       
   820 RESOURCE ARRAY r_privacy_editor_settings_page_texts_array
       
   821     {
       
   822         items =
       
   823         {
       
   824         AVKON_ENUMERATED_TEXT { value=1; text = "0.EPrivacyOn"; },
       
   825         AVKON_ENUMERATED_TEXT { value=2; text = "1.ErivacyOff"; }        
       
   826         };
       
   827     }
       
   828 RESOURCE ARRAY r_privacy_editor_settings_page_popedup
       
   829     {
       
   830         items =
       
   831         {        
       
   832         LBUF { txt = "0.EPrivacyOn"; },
       
   833         LBUF { txt = "1.ErivacyOfff"; }        
       
   834         };
       
   835     }
       
   836     
       
   837 // add setting page and editor resources for "details" field here
       
   838 RESOURCE AVKON_SETTING_PAGE r_editor_settings_page
       
   839     {
       
   840     number = 1;
       
   841     label = "Value";
       
   842     type = EAknCtIntegerEdwin;
       
   843     editor_resource_id = r_integer_edwin;
       
   844     }
       
   845 
       
   846 RESOURCE AVKON_SETTING_PAGE r_encoder_info_settings_page
       
   847     {
       
   848     number = 14;
       
   849     label="Configuration info";
       
   850     type = EEikCtEdwin;
       
   851     editor_resource_id = r_encoder_info_editor;
       
   852     hint_text="hint text";
       
   853     }
       
   854 
       
   855 RESOURCE AVKON_SETTING_PAGE r_encoding_device_settings_page
       
   856     {
       
   857     number = 15;
       
   858     label = "Encoder UID (hex)";
       
   859     type = EEikCtEdwin;
       
   860     editor_resource_id = r_encoding_device_editor;
       
   861     }
       
   862 
       
   863 
       
   864 //----------------------------------------------------
       
   865 //   
       
   866 //    r_avkonviewexample_view3
       
   867 //
       
   868 //----------------------------------------------------
       
   869 //
       
   870 RESOURCE AVKON_VIEW r_cenrepeditor_view3
       
   871     {
       
   872     hotkeys = r_cenrepeditor_hotkeys;
       
   873     menubar = r_cenrepeditor_menubar;  
       
   874     cba     = r_cenrepeditor_softkeys_start_exit;    
       
   875     }
       
   876 
       
   877 RESOURCE CBA r_cenrepeditor_softkeys_start_exit
       
   878 	{
       
   879 		buttons =
       
   880 			{
       
   881 			CBA_BUTTON
       
   882 				{
       
   883 				id = EAknSoftKeyStart;
       
   884 				txt = qtn_cenrepeditor_cba_text_start;
       
   885 				},
       
   886 		CBA_BUTTON
       
   887 				{
       
   888 				id = EAknSoftKeyExit;
       
   889 				txt = qtn_cenrepeditor_cba_text_Exit;
       
   890 				}
       
   891 			};
       
   892 	}
       
   893 	    
       
   894 RESOURCE CBA r_cenrepeditor_softkeys_stop_exit
       
   895 	{
       
   896 		buttons =
       
   897 			{
       
   898 			CBA_BUTTON
       
   899 				{
       
   900 				id = EAknSoftKeyStop;
       
   901 				txt = qtn_cenrepeditor_cba_text_stop;
       
   902 				},
       
   903 		CBA_BUTTON
       
   904 				{
       
   905 				id = EAknSoftKeyExit;
       
   906 				txt = qtn_cenrepeditor_cba_text_Exit;
       
   907 				}
       
   908 			};
       
   909 	}
       
   910 	
       
   911 RESOURCE AVKON_SETTING_ITEM_LIST r_cenrepeditor_start_stop_settings_list
       
   912 	{
       
   913 	flags = EAknSettingItemNumberedStyle;
       
   914 	items =     
       
   915 		{
       
   916 		AVKON_SETTING_ITEM
       
   917 			{
       
   918 			name = "Usecase";
       
   919 			identifier = EApplicationStartStop;
       
   920 			setting_page_resource = r_cenrepeditor_start_stop_settings_list_page;
       
   921 			associated_resource = r_cenrepeditor_start_stop_associated_settings_list_page;
       
   922 			
       
   923 			}
       
   924 		};
       
   925 	}
       
   926 RESOURCE AVKON_SETTING_PAGE r_cenrepeditor_start_stop_settings_list_page
       
   927     {    
       
   928     number = -16380;    
       
   929     label = qtn_cenrepeditor_application_usecase;    
       
   930     type = EAknCtPopupSettingList;
       
   931     editor_resource_id = r_cenrepeditor_empty_setting_list;
       
   932     }
       
   933     
       
   934 RESOURCE POPUP_SETTING_LIST r_cenrepeditor_empty_setting_list
       
   935     {
       
   936     }
       
   937 
       
   938 RESOURCE AVKON_POPUP_SETTING_TEXTS r_cenrepeditor_start_stop_associated_settings_list_page
       
   939     {    
       
   940     setting_texts_resource = r_usecase_array;
       
   941     popped_up_texts_resource = r_usecase_array_texts;
       
   942     }
       
   943 RESOURCE ARRAY r_usecase_array
       
   944     {
       
   945     items = 
       
   946         {
       
   947 				AVKON_ENUMERATED_TEXT 
       
   948 					{
       
   949 					text = "Live";
       
   950                     value = 0; 
       
   951 					},
       
   952 				AVKON_ENUMERATED_TEXT 
       
   953 					{
       
   954 					text = "Clip";
       
   955 					value = 1; 
       
   956 					},
       
   957 				AVKON_ENUMERATED_TEXT 
       
   958 					{
       
   959 					text = "StillImage";
       
   960 					value = 2; 
       
   961 					},
       
   962 				AVKON_ENUMERATED_TEXT 
       
   963 					{
       
   964 					text = "Receive";
       
   965 					value = 3; 
       
   966 					},
       
   967 				AVKON_ENUMERATED_TEXT 
       
   968 					{
       
   969 					text = "Continue";
       
   970 					value = 4; 
       
   971 					}
       
   972         };
       
   973     }
       
   974 
       
   975 RESOURCE ARRAY r_usecase_array_texts
       
   976     {
       
   977     items = { 
       
   978     				LBUF 
       
   979     					{ 
       
   980     					txt = "Live"; 
       
   981     					},
       
   982     				LBUF 
       
   983     					{
       
   984     					txt = "Clip"; 
       
   985     					},
       
   986     				LBUF 
       
   987     					{ 
       
   988     					txt = "StillImage"; 
       
   989     					},
       
   990     				LBUF 
       
   991     					{ 
       
   992     					txt = "Receive"; 
       
   993     					},
       
   994     				LBUF 
       
   995     					{ 
       
   996     					txt = "Continue"; 
       
   997     					}
       
   998         };
       
   999     }    
       
  1000 
       
  1001 // -----------------------------------------------------------------------------
       
  1002 //
       
  1003 // -----------------------------------------------------------------------------
       
  1004 //
       
  1005 RESOURCE DIALOG r_cenrepeditor_text_query_dialog
       
  1006     {
       
  1007     flags = EAknGeneralQueryFlags;
       
  1008     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
  1009     items = 
       
  1010         { 
       
  1011         DLG_LINE 
       
  1012             {
       
  1013             type = EAknCtQuery;
       
  1014             id = EGeneralQuery;
       
  1015             control = AVKON_DATA_QUERY 
       
  1016                 {
       
  1017                 layout = EDataLayout;
       
  1018                 control = EDWIN
       
  1019                     {
       
  1020 					};
       
  1021 				};
       
  1022 			}
       
  1023 		};
       
  1024 	}
       
  1025    
       
  1026 
       
  1027 
       
  1028 //End of File