simpsyconfigurator/data/simpsyui.rss
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2004 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 simpsyconfigurator
       
    15 *
       
    16 */
       
    17 
       
    18 NAME SIMP
       
    19 
       
    20 #include <eikon.rh>
       
    21 #include <uikon.rh>
       
    22 #include <avkon.rh>
       
    23 #include <appinfo.rh>
       
    24 #include <avkon.rsg>
       
    25 #include <avkon.hrh>
       
    26 #include <LocPsyConfigUi.rh>
       
    27 
       
    28 #include "simpsyui.hrh"
       
    29 #include "simpsyuiloc.h"
       
    30 
       
    31 RESOURCE RSS_SIGNATURE { }
       
    32 
       
    33 RESOURCE TBUF { buf=qtn_simpsyui_grid; }
       
    34 
       
    35 RESOURCE EIK_APP_INFO
       
    36     {
       
    37     menubar = r_simpsyui_menubar;
       
    38     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK__SELECT;
       
    39     }
       
    40 
       
    41 RESOURCE LOCALISABLE_APP_INFO r_simpsyui_app_info
       
    42 	{
       
    43 	short_caption = qtn_simpsyui_grid;
       
    44 	caption_and_icon =
       
    45 		{
       
    46 		CAPTION_AND_ICON_INFO
       
    47 			{
       
    48 			caption = qtn_simpsyui_grid;
       
    49 			}
       
    50 		};			
       
    51 	}
       
    52 
       
    53 RESOURCE MENU_BAR r_simpsyui_menubar
       
    54     {
       
    55     titles=
       
    56         {
       
    57         MENU_TITLE 
       
    58             { 
       
    59             menu_pane = r_simpsyui_cfg_menu; 
       
    60             txt=""; 
       
    61             }
       
    62         };
       
    63     }
       
    64 
       
    65 RESOURCE MENU_PANE r_simpsyui_cfg_menu
       
    66     {
       
    67     items=
       
    68         {
       
    69         MENU_ITEM 
       
    70             { 
       
    71             command = ESimCmdConfigFile; 
       
    72             txt = qtn_simpsyui_opt_config_file; 
       
    73             } ,
       
    74 	    MENU_ITEM 
       
    75 	        { 
       
    76 	        command = ESimCmdGetCurrentLocation; 
       
    77 	        txt = qtn_simpsyui_opt_current_location; 
       
    78 	        }
       
    79         };
       
    80     }
       
    81 
       
    82 RESOURCE PSYCONFIG_REGISTRATION r_simpsyui_reg_info
       
    83 	{
       
    84 	psy_uid = 0x101F7A81; // Use Simulation PSY modules UID
       
    85 	}
       
    86 
       
    87 RESOURCE DIALOG r_simpsyui_error_note
       
    88     {
       
    89 	flags = EGeneralQueryFlags;
       
    90     buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
    91     items =
       
    92         {
       
    93         DLG_LINE
       
    94             {
       
    95             type = EAknCtNote;
       
    96 		    id = EGeneralNote;
       
    97             control = AVKON_NOTE 
       
    98                 { 
       
    99                 layout = EGeneralLayout;
       
   100                 singular_label = qtn_simpsyui_location_dlg_label;
       
   101                 animation = R_QGN_NOTE_INFO_ANIM;
       
   102                 };
       
   103             }
       
   104         };
       
   105     }
       
   106 
       
   107 RESOURCE DIALOG r_simpsyui_location_dialog
       
   108     {
       
   109     flags = EGeneralQueryFlags;
       
   110     buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
   111     items =
       
   112         {
       
   113         DLG_LINE
       
   114             {
       
   115             type = EAknCtListQueryControl;
       
   116             id = EListQueryControl;
       
   117             control = AVKON_LIST_QUERY_CONTROL
       
   118                 {
       
   119 				listtype = EAknCtSingleHeadingPopupMenuListBox;
       
   120                 listbox = LISTBOX
       
   121                     {
       
   122                     flags = EAknListBoxViewerFlags;
       
   123                     array_id = r_simpsyui_listbox_dummy_array;
       
   124                     };
       
   125                 heading = qtn_simpsyui_location_dlg_heading;
       
   126                 };
       
   127             }
       
   128         };
       
   129     }
       
   130 
       
   131 RESOURCE ARRAY r_simpsyui_listbox_dummy_array
       
   132 	{
       
   133 	items =
       
   134 		{
       
   135 		LBUF
       
   136 			{
       
   137 			txt = "";
       
   138 			}
       
   139 		};
       
   140 	}
       
   141 
       
   142 RESOURCE DIALOG r_simpsyui_request_location
       
   143 	{	
       
   144 	flags = EAknWaitNoteFlags | EEikDialogFlagWait;
       
   145     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   146     items =
       
   147         {
       
   148         DLG_LINE
       
   149             {
       
   150             type = EAknCtNote;
       
   151             id = EGeneralNote;
       
   152             control= AVKON_NOTE 
       
   153                 { 
       
   154                 layout = EWaitLayout;
       
   155                 singular_label = qtn_simpsyui_wait_requesting_location;
       
   156                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   157                 };
       
   158             }
       
   159         };
       
   160 	}
       
   161 	
       
   162 RESOURCE TBUF r_simpsyui_serv_connect_err
       
   163     {
       
   164     buf = qtn_simpsyui_serv_connect_err;
       
   165     }
       
   166 
       
   167 RESOURCE TBUF r_simpsyui_psy_open_err
       
   168     {
       
   169     buf = qtn_simpsyui_psy_open_err;
       
   170     }
       
   171 
       
   172 RESOURCE TBUF r_simpsyui_setting_requestor_err
       
   173     {
       
   174     buf = qtn_simpsyui_setting_requestor_err;
       
   175     }
       
   176 
       
   177 RESOURCE TBUF r_simpsyui_get_location_err
       
   178     {
       
   179     buf = qtn_simpsyui_get_location_err;
       
   180     }
       
   181 
       
   182 RESOURCE TBUF r_simpsyui_location_info_latitude
       
   183     {
       
   184     buf = qtn_simpsyui_location_info_latitude;
       
   185     }
       
   186 
       
   187 RESOURCE TBUF r_simpsyui_location_info_longitude
       
   188     {
       
   189     buf = qtn_simpsyui_location_info_longitude;
       
   190     }
       
   191 
       
   192 RESOURCE TBUF r_simpsyui_location_info_altitude
       
   193     {
       
   194     buf = qtn_simpsyui_location_info_altitude;
       
   195     }
       
   196 
       
   197 RESOURCE TBUF r_simpsyui_location_info_horz_accuracy
       
   198     {
       
   199     buf = qtn_simpsyui_location_info_horz_accuracy;
       
   200     }
       
   201 
       
   202 RESOURCE TBUF r_simpsyui_location_info_vert_accuracy
       
   203     {
       
   204     buf = qtn_simpsyui_location_info_vert_accuracy;
       
   205     }
       
   206    
       
   207 RESOURCE TBUF r_simpsyui_filename_text
       
   208 	{
       
   209 	buf = qtn_simpsyui_filename_text;
       
   210 	} 
       
   211 //End Of File