locationlandmarksrefappfors60/Data/LmRefApp.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-2007 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:  Defines the resources used by the Landmark Reference App.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 NAME LMKS
       
    20 
       
    21 #include <eikon.rh>
       
    22 #include <avkon.rh>
       
    23 #include <avkon.rsg>
       
    24 #include <avkon.mbg>
       
    25 #include <eikctl.rsg>
       
    26 
       
    27 #include <appinfo.rh>
       
    28 
       
    29 #include "LmRefApp.hrh"
       
    30 #include "LmRefApp.rls"
       
    31 #include <lmrefapp.mbg>
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 //    Define the resource file signature
       
    35 //    This resource should be empty.
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 RESOURCE RSS_SIGNATURE {  }
       
    39 
       
    40 // -----------------------------------------------------------------------------
       
    41 //    Define the title of the app
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 RESOURCE TBUF { buf="LmRefApp"; }
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 //    Define default application info.
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 RESOURCE EIK_APP_INFO
       
    51     {
       
    52     status_pane = r_lmrefapp_status_pane;
       
    53     }
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 //  Add a new resource definition
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 RESOURCE LOCALISABLE_APP_INFO r_lmrefapp_localisable_app_info
       
    60     {
       
    61     short_caption = qtn_lmrefapp_title;
       
    62     caption_and_icon =
       
    63         CAPTION_AND_ICON_INFO
       
    64             {
       
    65             caption = qtn_lmrefapp_title;
       
    66             number_of_icons = 1;
       
    67             icon_file =  "\\resource\\apps\\lmrefappfors60_icon.mif";
       
    68             };
       
    69 	view_list = {};
       
    70     }
       
    71 
       
    72 // -----------------------------------------------------------------------------
       
    73 //    Define the application icon.
       
    74 // -----------------------------------------------------------------------------
       
    75 //
       
    76 RESOURCE CONTEXT_PANE r_lmrefapp_app_icon
       
    77     {
       
    78     }
       
    79 
       
    80 // -----------------------------------------------------------------------------
       
    81 //    r_lmrefapp_status_pane
       
    82 //    define the default appearance of the status pane
       
    83 // -----------------------------------------------------------------------------
       
    84 //
       
    85 RESOURCE STATUS_PANE_APP_MODEL r_lmrefapp_status_pane
       
    86     {
       
    87     panes =
       
    88         {
       
    89         SPANE_PANE
       
    90             {
       
    91             id = EEikStatusPaneUidContext;
       
    92             type=EAknCtContextPane;
       
    93             resource = r_lmrefapp_app_icon;
       
    94             },
       
    95         SPANE_PANE
       
    96             {
       
    97             id = EEikStatusPaneUidNavi;
       
    98             type = EAknCtNaviPane;
       
    99             resource = r_lmrefapp_navi_decorator;
       
   100             }
       
   101         };
       
   102     }
       
   103 
       
   104 // -----------------------------------------------------------------------------
       
   105 //    r_lmrefapp_navi_decorator
       
   106 //    define the navigation decorator on the status pane
       
   107 // -----------------------------------------------------------------------------
       
   108 //
       
   109 RESOURCE NAVI_DECORATOR r_lmrefapp_navi_decorator
       
   110     {
       
   111     type = ENaviDecoratorControlTabGroup;
       
   112     control = TAB_GROUP
       
   113         {
       
   114         tab_width = EAknTabWidthWithTwoLongTabs;
       
   115         active = 0;
       
   116         tabs =
       
   117             {
       
   118             TAB
       
   119                 {
       
   120                 id = ELandmarksNameTab;
       
   121                 txt = qtn_lmrefapp_view;
       
   122                 },
       
   123             TAB
       
   124                 {
       
   125                 id = ELandmarksCategoriesTab;
       
   126                 txt = qtn_lmrefapp_categories_view;
       
   127                 }
       
   128             };
       
   129         };
       
   130     }
       
   131 
       
   132 // -----------------------------------------------------------------------------
       
   133 //    r_lmrefapp_view
       
   134 //    Define the landmarks view
       
   135 // -----------------------------------------------------------------------------
       
   136 //
       
   137 RESOURCE AVKON_VIEW r_lmrefapp_view
       
   138     {
       
   139     menubar = r_lmrefapp_menubar;
       
   140     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
   141     }
       
   142 
       
   143 // -----------------------------------------------------------------------------
       
   144 //   r_lmrefapp_menubar
       
   145 //   Define the menu bar of the landmarks view
       
   146 // -----------------------------------------------------------------------------
       
   147 //
       
   148 RESOURCE MENU_BAR r_lmrefapp_menubar
       
   149     {
       
   150     titles =
       
   151         {
       
   152         MENU_TITLE
       
   153             {
       
   154             menu_pane = r_lmrefapp_menu;
       
   155             }
       
   156         };
       
   157     }
       
   158 
       
   159 // -----------------------------------------------------------------------------
       
   160 //   r_lmrefapp_menu
       
   161 //   Define the menu pane of the landmarks view
       
   162 // -----------------------------------------------------------------------------
       
   163 //
       
   164 RESOURCE MENU_PANE r_lmrefapp_menu
       
   165     {
       
   166     items =
       
   167         {
       
   168         MENU_ITEM
       
   169             {
       
   170             command = ELandmarksOpen;
       
   171             txt = qtn_lmrefapp_open_item;
       
   172             },
       
   173         MENU_ITEM
       
   174             {
       
   175             txt = qtn_lmrefapp_new_lm_item;
       
   176             cascade = r_lmrefapp_add_sub_menu;
       
   177             },
       
   178         MENU_ITEM
       
   179             {
       
   180             command = ELandmarksDelete;
       
   181             txt = qtn_lmrefapp_delete_item;
       
   182             },
       
   183         MENU_ITEM
       
   184             {
       
   185             command = EAknSoftkeyExit;
       
   186             txt = qtn_lmrefapp_exit_item;
       
   187             }
       
   188         };
       
   189     }
       
   190 
       
   191 // -----------------------------------------------------------------------------
       
   192 //   r_lmrefapp_add_sub_menu
       
   193 //   Define the add sub menu pane of the landmarks view
       
   194 // -----------------------------------------------------------------------------
       
   195 //
       
   196 RESOURCE MENU_PANE r_lmrefapp_add_sub_menu
       
   197     {
       
   198     items =
       
   199         {
       
   200         MENU_ITEM
       
   201             {
       
   202             command = ELandmarksAddCurrent;
       
   203             txt = qtn_lmrefapp_add_current_item;
       
   204             },
       
   205         MENU_ITEM
       
   206             {
       
   207             command = ELandmarksAddBlank;
       
   208             txt = qtn_lmrefapp_add_blank_item;
       
   209             }
       
   210         };
       
   211     }
       
   212 
       
   213 // -----------------------------------------------------------------------------
       
   214 //    r_lmrefapp_categories_view
       
   215 //    Define the categories view
       
   216 // -----------------------------------------------------------------------------
       
   217 //
       
   218 RESOURCE AVKON_VIEW r_lmrefapp_categories_view
       
   219     {
       
   220     menubar = r_lmrefapp_categories_menubar;
       
   221     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
   222     }
       
   223 
       
   224 // -----------------------------------------------------------------------------
       
   225 //   r_lmrefapp_categories_menubar
       
   226 //   Define the menu bar of the categories view
       
   227 // -----------------------------------------------------------------------------
       
   228 //
       
   229 RESOURCE MENU_BAR r_lmrefapp_categories_menubar
       
   230     {
       
   231     titles =
       
   232         {
       
   233         MENU_TITLE
       
   234             {
       
   235             menu_pane = r_lmrefapp_categories_menu;
       
   236             }
       
   237         };
       
   238     }
       
   239 
       
   240 // -----------------------------------------------------------------------------
       
   241 //   r_lmrefapp_categories_menu
       
   242 //   Define the categories menu pane
       
   243 // -----------------------------------------------------------------------------
       
   244 //
       
   245 RESOURCE MENU_PANE r_lmrefapp_categories_menu
       
   246     {
       
   247     items =
       
   248         {
       
   249         MENU_ITEM
       
   250             {
       
   251             command = ELandmarksAddCategory;
       
   252             txt = qtn_lmrefapp_new_cat_item;
       
   253             },
       
   254         MENU_ITEM
       
   255             {
       
   256             command = ELandmarksRename;
       
   257             txt = qtn_lmrefapp_rename_item;
       
   258             },
       
   259         MENU_ITEM
       
   260             {
       
   261             command = ELandmarksDelete;
       
   262             txt = qtn_lmrefapp_delete_item;
       
   263             },
       
   264         MENU_ITEM
       
   265             {
       
   266             command = EAknSoftkeyExit;
       
   267             txt = qtn_lmrefapp_exit_item;
       
   268             }
       
   269         };
       
   270     }
       
   271 
       
   272 // -----------------------------------------------------------------------------
       
   273 //    r_lmrefapp_info_view
       
   274 //    Define the landmark info view
       
   275 // -----------------------------------------------------------------------------
       
   276 //
       
   277 RESOURCE AVKON_VIEW r_lmrefapp_info_view
       
   278     {
       
   279     cba = r_lmrefapp_info_view_cba;
       
   280     }
       
   281 
       
   282 // -----------------------------------------------------------------------------
       
   283 //   r_lmrefapp_info_view_cba
       
   284 //   CBA for the landmark info view
       
   285 // -----------------------------------------------------------------------------
       
   286 //
       
   287 RESOURCE CBA r_lmrefapp_info_view_cba
       
   288     {
       
   289     buttons =
       
   290         {
       
   291         CBA_BUTTON
       
   292             {
       
   293             id = EAknSoftkeyEdit;
       
   294             txt = qtn_lmrefapp_edit;
       
   295             },
       
   296         CBA_BUTTON
       
   297             {
       
   298             id = EAknSoftkeyBack;
       
   299             txt = qtn_lmrefapp_back;
       
   300             }
       
   301         };
       
   302     }
       
   303 
       
   304 // -----------------------------------------------------------------------------
       
   305 //   r_lmrefapp_edit_menu_bar
       
   306 //   Define the menu bar of the edit dialog
       
   307 // -----------------------------------------------------------------------------
       
   308 //
       
   309 RESOURCE MENU_BAR r_lmrefapp_edit_menu_bar
       
   310     {
       
   311     titles =
       
   312         {
       
   313         MENU_TITLE
       
   314             {
       
   315             menu_pane = r_lmrefapp_edit_menu_pane;
       
   316             }
       
   317         };
       
   318     }
       
   319 
       
   320 // -----------------------------------------------------------------------------
       
   321 //   r_lmrefapp_edit_menu_pane
       
   322 //   Define the menu pane of the edit dialog
       
   323 // -----------------------------------------------------------------------------
       
   324 //
       
   325 RESOURCE MENU_PANE r_lmrefapp_edit_menu_pane
       
   326     {
       
   327     items =
       
   328         {
       
   329         MENU_ITEM
       
   330             {
       
   331             command = ELandmarksEditCategories;
       
   332             txt = qtn_lmrefapp_edit_cat_item;
       
   333             },
       
   334         MENU_ITEM
       
   335             {
       
   336             command = ELandmarksUpdateToCurrentLocation;
       
   337             txt = qtn_lmrefapp_current_loc;
       
   338             },
       
   339         MENU_ITEM
       
   340             {
       
   341             command = ELandmarksResetCoordinates;
       
   342             txt = qtn_lmrefapp_reset_coords;
       
   343             }
       
   344         };
       
   345     }
       
   346 
       
   347 // -----------------------------------------------------------------------------
       
   348 //    r_lmrefapp_edit_categories_dialog
       
   349 //    Dialog containing a list box for selecting categories for a landmark
       
   350 // -----------------------------------------------------------------------------
       
   351 //
       
   352 RESOURCE DIALOG r_lmrefapp_edit_categories_dialog
       
   353     {
       
   354     flags = EAknDialogMarkableList;
       
   355     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   356     items =
       
   357         {
       
   358         DLG_LINE
       
   359             {
       
   360             type = EAknCtSingleListBox;
       
   361             id = ESelectionListControl;
       
   362             control = LISTBOX
       
   363                 {
       
   364                 flags = EAknListBoxMarkableList | EAknListBoxLoopScrolling;
       
   365                 };
       
   366             }
       
   367         };
       
   368     }
       
   369 
       
   370 // -----------------------------------------------------------------------------
       
   371 //    r_lmrefapp_edit_dialog
       
   372 //    Dialog containing a form for editing landmarks fields
       
   373 // -----------------------------------------------------------------------------
       
   374 //
       
   375 RESOURCE DIALOG r_lmrefapp_edit_dialog
       
   376     {
       
   377     flags = EAknDialogGenericFullScreen;
       
   378     buttons = R_AVKON_SOFTKEYS_OPTIONS_DONE;
       
   379     items = {};
       
   380     form = r_lmrefapp_edit_form;
       
   381     }
       
   382 
       
   383 //-----------------------------------------------------------------------------
       
   384 //    r_lmrefapp_edit_form
       
   385 //    Form containg the landmark fields for editing.
       
   386 //-----------------------------------------------------------------------------
       
   387 //
       
   388 RESOURCE FORM r_lmrefapp_edit_form
       
   389     {
       
   390     flags = EEikFormUseDoubleSpacedFormat | EEikFormEditModeOnly;
       
   391     items =
       
   392         {
       
   393         DLG_LINE_INDIRECT
       
   394             {
       
   395             line = r_lmrefapp_field_name;
       
   396             },
       
   397         DLG_LINE_INDIRECT
       
   398             {
       
   399             line = r_lmrefapp_field_description;
       
   400             },
       
   401         DLG_LINE_INDIRECT
       
   402             {
       
   403             line = r_lmrefapp_field_category;
       
   404             },
       
   405         DLG_LINE_INDIRECT
       
   406             {
       
   407             line = r_lmrefapp_field_latitude;
       
   408             },
       
   409         DLG_LINE_INDIRECT
       
   410             {
       
   411             line = r_lmrefapp_field_longitude;
       
   412             },
       
   413         DLG_LINE_INDIRECT
       
   414             {
       
   415             line = r_lmrefapp_field_altitude;
       
   416             },
       
   417         DLG_LINE_INDIRECT
       
   418             {
       
   419             line = r_lmrefapp_field_hor_acc;
       
   420             },
       
   421         DLG_LINE_INDIRECT
       
   422             {
       
   423             line = r_lmrefapp_field_ver_acc;
       
   424             },
       
   425         DLG_LINE_INDIRECT
       
   426             {
       
   427             line = r_lmrefapp_field_radius;
       
   428             },
       
   429         DLG_LINE_INDIRECT
       
   430             {
       
   431             line = r_lmrefapp_field_street;
       
   432             },
       
   433         DLG_LINE_INDIRECT
       
   434             {
       
   435             line = r_lmrefapp_field_postal;
       
   436             },
       
   437         DLG_LINE_INDIRECT
       
   438             {
       
   439             line = r_lmrefapp_field_city;
       
   440             },
       
   441         DLG_LINE_INDIRECT
       
   442             {
       
   443             line = r_lmrefapp_field_country;
       
   444             }
       
   445         };
       
   446     }
       
   447 
       
   448 RESOURCE DLG_LINE r_lmrefapp_field_name
       
   449     {
       
   450     type = EEikCtEdwin;
       
   451     prompt = qtn_lmrefapp_name;
       
   452     id = ELandmarkNameField;
       
   453     control = EDWIN
       
   454         {
       
   455         flags = EEikEdwinNoAutoSelection;
       
   456         maxlength = KEditorMaxWidth;
       
   457         };
       
   458     }
       
   459 
       
   460 RESOURCE DLG_LINE r_lmrefapp_field_description
       
   461     {
       
   462     type = EEikCtEdwin;
       
   463     prompt = qtn_lmrefapp_description;
       
   464     id = ELandmarkDescField;
       
   465     control = EDWIN
       
   466         {
       
   467         flags = EEikEdwinNoAutoSelection;
       
   468         maxlength = KDescMaxWidth;
       
   469         };
       
   470     }
       
   471 
       
   472 RESOURCE DLG_LINE r_lmrefapp_field_category
       
   473     {
       
   474     type = EEikCtEdwin;
       
   475     prompt = qtn_lmrefapp_categories;
       
   476     id = ELandmarkCategoryField;
       
   477     control = EDWIN
       
   478         {
       
   479         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
   480             EEikEdwinNoAutoSelection | EEikEdwinReadOnly;
       
   481         maxlength = KDescMaxWidth;
       
   482         };
       
   483     }
       
   484 
       
   485 //  The float editors below cannot use type = EEikCtFlPtEd and
       
   486 //  control = FLPTED since we allow NaN in our range.
       
   487 RESOURCE DLG_LINE r_lmrefapp_field_latitude
       
   488     {
       
   489     type = EAknCtLocationEditor;
       
   490     prompt = qtn_lmrefapp_latitude;
       
   491     id = ELandmarkLatitudeField;
       
   492     control = LATITUDE_EDITOR
       
   493         {
       
   494         flags = ELocationEdFlagLatitude;
       
   495         latlongresourceid = R_EIK_LATITUDE_AND_LONGITUDE;
       
   496         };
       
   497     }
       
   498 
       
   499 RESOURCE DLG_LINE r_lmrefapp_field_longitude
       
   500     {
       
   501     type = EAknCtLocationEditor;
       
   502     prompt = qtn_lmrefapp_longitude;
       
   503     id = ELandmarkLongitudeField;
       
   504     control = LONGITUDE_EDITOR
       
   505         {
       
   506         flags = ELocationEdFlagLongitude;
       
   507         latlongresourceid = R_EIK_LATITUDE_AND_LONGITUDE;
       
   508         };
       
   509     }
       
   510 
       
   511 RESOURCE DLG_LINE r_lmrefapp_field_altitude
       
   512     {
       
   513     type = EEikCtEdwin;
       
   514     prompt = qtn_lmrefapp_altitude;
       
   515     id = ELandmarkAltitudeField;
       
   516     control = EDWIN
       
   517         {
       
   518         flags = EEikEdwinNoAutoSelection;
       
   519         maxlength = KEditorMaxWidth;
       
   520         allowed_input_modes = EAknEditorNumericInputMode;
       
   521         avkon_flags = EAknEditorFlagFixedCase |
       
   522             EAknEditorFlagSupressShiftMenu;
       
   523         default_input_mode = EAknEditorNumericInputMode;
       
   524         numeric_keymap = EAknEditorConverterNumberModeKeymap;
       
   525         };
       
   526     }
       
   527 
       
   528 RESOURCE DLG_LINE r_lmrefapp_field_hor_acc
       
   529     {
       
   530     type = EEikCtEdwin;
       
   531     prompt = qtn_lmrefapp_hor_acc;
       
   532     id = ELandmarkHorAccField;
       
   533     control = EDWIN
       
   534         {
       
   535         flags = EEikEdwinNoAutoSelection;
       
   536         maxlength = KEditorMaxWidth;
       
   537         allowed_input_modes = EAknEditorNumericInputMode;
       
   538         avkon_flags = EAknEditorFlagFixedCase |
       
   539             EAknEditorFlagSupressShiftMenu;
       
   540         default_input_mode = EAknEditorNumericInputMode;
       
   541         numeric_keymap = EAknEditorConverterNumberModeKeymap;
       
   542         };
       
   543     }
       
   544 
       
   545 RESOURCE DLG_LINE r_lmrefapp_field_ver_acc
       
   546     {
       
   547     type = EEikCtEdwin;
       
   548     prompt = qtn_lmrefapp_ver_acc;
       
   549     id = ELandmarkVerAccField;
       
   550     control = EDWIN
       
   551         {
       
   552         flags = EEikEdwinNoAutoSelection;
       
   553         maxlength = KEditorMaxWidth;
       
   554         allowed_input_modes = EAknEditorNumericInputMode;
       
   555         avkon_flags = EAknEditorFlagFixedCase |
       
   556             EAknEditorFlagSupressShiftMenu;
       
   557         default_input_mode = EAknEditorNumericInputMode;
       
   558         numeric_keymap = EAknEditorConverterNumberModeKeymap;
       
   559         };
       
   560     }
       
   561 
       
   562 RESOURCE DLG_LINE r_lmrefapp_field_radius
       
   563     {
       
   564     type = EEikCtEdwin;
       
   565     prompt = qtn_lmrefapp_radius;
       
   566     id = ELandmarkRadiusField;
       
   567     control = EDWIN
       
   568         {
       
   569         flags = EEikEdwinNoAutoSelection;
       
   570         maxlength = KEditorMaxWidth;
       
   571         allowed_input_modes = EAknEditorNumericInputMode;
       
   572         avkon_flags = EAknEditorFlagFixedCase |
       
   573             EAknEditorFlagSupressShiftMenu;
       
   574         default_input_mode = EAknEditorNumericInputMode;
       
   575         numeric_keymap = EAknEditorConverterNumberModeKeymap;
       
   576         };
       
   577     }
       
   578 
       
   579 RESOURCE DLG_LINE r_lmrefapp_field_street
       
   580     {
       
   581     type = EEikCtEdwin;
       
   582     prompt = qtn_lmrefapp_street;
       
   583     id = ELandmarkStreetField;
       
   584     control = EDWIN
       
   585         {
       
   586         flags = EEikEdwinNoAutoSelection;
       
   587         maxlength = KEditorMaxWidth;
       
   588         };
       
   589     }
       
   590 
       
   591 RESOURCE DLG_LINE r_lmrefapp_field_postal
       
   592     {
       
   593     type = EEikCtEdwin;
       
   594     prompt = qtn_lmrefapp_postal;
       
   595     id = ELandmarkPostalField;
       
   596     control = EDWIN
       
   597         {
       
   598         flags = EEikEdwinNoAutoSelection;
       
   599         maxlength = KEditorMaxWidth;
       
   600         default_input_mode = EAknEditorNumericInputMode;
       
   601         };
       
   602     }
       
   603 
       
   604 RESOURCE DLG_LINE r_lmrefapp_field_city
       
   605     {
       
   606     type = EEikCtEdwin;
       
   607     prompt = qtn_lmrefapp_city;
       
   608     id = ELandmarkCityField;
       
   609     control = EDWIN
       
   610         {
       
   611         flags = EEikEdwinNoAutoSelection;
       
   612         maxlength = KEditorMaxWidth;
       
   613         };
       
   614     }
       
   615 
       
   616 RESOURCE DLG_LINE r_lmrefapp_field_country
       
   617     {
       
   618     type = EEikCtEdwin;
       
   619     prompt = qtn_lmrefapp_country;
       
   620     id = ELandmarkCountryField;
       
   621     control = EDWIN
       
   622         {
       
   623         flags = EEikEdwinNoAutoSelection;
       
   624         maxlength = KEditorMaxWidth;
       
   625         };
       
   626     }
       
   627 
       
   628 // -----------------------------------------------------------------------------
       
   629 //    r_lmrefapp_init_db_progress_dialog
       
   630 //    Dialog for displaying a progress dialog when initializing the database
       
   631 // -----------------------------------------------------------------------------
       
   632 //
       
   633 RESOURCE DIALOG r_lmrefapp_init_db_progress_dialog
       
   634     {
       
   635     flags = EAknProgressNoteFlags;
       
   636     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   637     items =
       
   638         {
       
   639         DLG_LINE
       
   640             {
       
   641             type = EAknCtNote;
       
   642             id = ELandmarksInitDbProgressDialog;
       
   643             control = AVKON_NOTE
       
   644                 {
       
   645                 layout = EProgressLayout;
       
   646                 singular_label = qtn_lmrefapp_initializing;
       
   647                 };
       
   648             }
       
   649         };
       
   650     }
       
   651 
       
   652 // -----------------------------------------------------------------------------
       
   653 //    r_lmrefapp_acquire_location_wait_note
       
   654 //    Dialog for displaying a wait note when acquiring a location
       
   655 // -----------------------------------------------------------------------------
       
   656 //
       
   657 RESOURCE DIALOG r_lmrefapp_acquire_location_wait_note
       
   658     {
       
   659     flags = EAknWaitNoteFlags | EEikDialogFlagWait;
       
   660     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   661     items =
       
   662         {
       
   663         DLG_LINE
       
   664             {
       
   665             type = EAknCtNote;
       
   666             id = ELandmarksAcquireLocationWaitNote;
       
   667             control = AVKON_NOTE
       
   668                 {
       
   669                 layout = EWaitLayout;
       
   670                 singular_label = qtn_lmrefapp_acquiring_loc;
       
   671                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   672                 };
       
   673             }
       
   674         };
       
   675     }
       
   676 
       
   677 // -----------------------------------------------------------------------------
       
   678 //    r_lmrefapp_general_query
       
   679 //    Dialog for displaying a general query
       
   680 // -----------------------------------------------------------------------------
       
   681 //
       
   682 RESOURCE DIALOG r_lmrefapp_general_query
       
   683     {
       
   684     flags = EGeneralQueryFlags;
       
   685     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   686     items =
       
   687         {
       
   688         DLG_LINE
       
   689             {
       
   690             type = EAknCtQuery;
       
   691             id = ELandmarksGeneralQuery;
       
   692             control = AVKON_CONFIRMATION_QUERY
       
   693                 {
       
   694                 layout = EConfirmationQueryLayout;
       
   695                 };
       
   696             }
       
   697         };
       
   698     }
       
   699 
       
   700 // -----------------------------------------------------------------------------
       
   701 //    r_lmrefapp_rename_query
       
   702 //    Dialog for displaying a text editor
       
   703 // -----------------------------------------------------------------------------
       
   704 //
       
   705 RESOURCE DIALOG r_lmrefapp_rename_query
       
   706     {
       
   707     flags = EGeneralQueryFlags;
       
   708     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   709     items =
       
   710         {
       
   711         DLG_LINE
       
   712             {
       
   713             type = EAknCtQuery;
       
   714             id = ELandmarksRenameQuery;
       
   715             control = AVKON_DATA_QUERY
       
   716                 {
       
   717                 layout = EDataLayout;
       
   718                 control = EDWIN
       
   719                     {
       
   720                     };
       
   721                 };
       
   722             }
       
   723         };
       
   724     }
       
   725 
       
   726 
       
   727 // -----------------------------------------------------------------------------
       
   728 //    r_lmrefapp_???_label
       
   729 //    Field labels for info view and edit dialog
       
   730 // -----------------------------------------------------------------------------
       
   731 //
       
   732 
       
   733 RESOURCE TBUF r_lmrefapp_lmname_label { buf = qtn_lmrefapp_name; }
       
   734 RESOURCE TBUF r_lmrefapp_description_label { buf = qtn_lmrefapp_description; }
       
   735 //RESOURCE TBUF r_lmrefapp_category_label { buf = qtn_lmrefapp_category; }
       
   736 RESOURCE TBUF r_lmrefapp_categories_label { buf = qtn_lmrefapp_categories; }
       
   737 RESOURCE TBUF r_lmrefapp_lat_label { buf = qtn_lmrefapp_latitude; }
       
   738 RESOURCE TBUF r_lmrefapp_lon_label { buf = qtn_lmrefapp_longitude; }
       
   739 RESOURCE TBUF r_lmrefapp_alt_label { buf = qtn_lmrefapp_altitude; }
       
   740 RESOURCE TBUF r_lmrefapp_hor_acc_label { buf = qtn_lmrefapp_hor_acc; }
       
   741 RESOURCE TBUF r_lmrefapp_ver_acc_label { buf = qtn_lmrefapp_ver_acc; }
       
   742 RESOURCE TBUF r_lmrefapp_radius_label { buf = qtn_lmrefapp_radius; }
       
   743 RESOURCE TBUF r_lmrefapp_street_label { buf = qtn_lmrefapp_street; }
       
   744 RESOURCE TBUF r_lmrefapp_postal_label { buf = qtn_lmrefapp_postal; }
       
   745 RESOURCE TBUF r_lmrefapp_city_label { buf = qtn_lmrefapp_city; }
       
   746 RESOURCE TBUF r_lmrefapp_country_label { buf = qtn_lmrefapp_country; }
       
   747 
       
   748 RESOURCE TBUF r_lmrefapp_lmname_label_short { buf = qtn_lmrefapp_name_short; }
       
   749 RESOURCE TBUF r_lmrefapp_description_label_short { buf = qtn_lmrefapp_description_short; }
       
   750 RESOURCE TBUF r_lmrefapp_category_label_short { buf = qtn_lmrefapp_category_short; }
       
   751 //RESOURCE TBUF r_lmrefapp_categories_label_short { buf = qtn_lmrefapp_categories_short; }
       
   752 RESOURCE TBUF r_lmrefapp_lat_label_short { buf = qtn_lmrefapp_latitude_short; }
       
   753 RESOURCE TBUF r_lmrefapp_lon_label_short { buf = qtn_lmrefapp_longitude_short; }
       
   754 RESOURCE TBUF r_lmrefapp_alt_label_short { buf = qtn_lmrefapp_altitude_short; }
       
   755 RESOURCE TBUF r_lmrefapp_hor_acc_label_short { buf = qtn_lmrefapp_hor_acc_short; }
       
   756 RESOURCE TBUF r_lmrefapp_ver_acc_label_short { buf = qtn_lmrefapp_ver_acc_short; }
       
   757 RESOURCE TBUF r_lmrefapp_radius_label_short { buf = qtn_lmrefapp_radius_short; }
       
   758 RESOURCE TBUF r_lmrefapp_street_label_short { buf = qtn_lmrefapp_street_short; }
       
   759 RESOURCE TBUF r_lmrefapp_postal_label_short { buf = qtn_lmrefapp_postal_short; }
       
   760 RESOURCE TBUF r_lmrefapp_city_label_short { buf = qtn_lmrefapp_city_short; }
       
   761 RESOURCE TBUF r_lmrefapp_country_label_short { buf = qtn_lmrefapp_country_short; }
       
   762 
       
   763 // -----------------------------------------------------------------------------
       
   764 //    Various strings
       
   765 // -----------------------------------------------------------------------------
       
   766 //
       
   767 
       
   768 RESOURCE TBUF r_lmrefapp_app_title { buf = qtn_lmrefapp_title; }
       
   769 RESOURCE TBUF r_lmrefapp_latitude_error { buf = qtn_lmrefapp_latitude_error; }
       
   770 RESOURCE TBUF r_lmrefapp_longitude_error { buf = qtn_lmrefapp_longitude_error; }
       
   771 RESOURCE TBUF r_lmrefapp_altitude_error { buf = qtn_lmrefapp_altitude_error; }
       
   772 RESOURCE TBUF r_lmrefapp_hor_acc_error { buf = qtn_lmrefapp_hor_acc_error; }
       
   773 RESOURCE TBUF r_lmrefapp_ver_acc_error { buf = qtn_lmrefapp_ver_acc_error; }
       
   774 RESOURCE TBUF r_lmrefapp_radius_error { buf = qtn_lmrefapp_radius_error; }
       
   775 RESOURCE TBUF r_lmrefapp_lat_long_error { buf = qtn_lmrefapp_lat_long_error; }
       
   776 RESOURCE TBUF r_lmrefapp_alt_lat_long_error { buf = qtn_lmrefapp_alt_lat_long_error; }
       
   777 RESOURCE TBUF r_lmrefapp_hacc_lat_long_error { buf = qtn_lmrefapp_hacc_lat_long_error; }
       
   778 RESOURCE TBUF r_lmrefapp_vacc_alt_error { buf = qtn_lmrefapp_vacc_alt_error; }
       
   779 RESOURCE TBUF r_lmrefapp_acquiring_loc { buf = qtn_lmrefapp_acquiring_loc; }
       
   780 RESOURCE TBUF r_lmrefapp_delete_category { buf = qtn_lmrefapp_delete_category; }
       
   781 RESOURCE TBUF r_lmrefapp_new_category { buf = qtn_lmrefapp_new_category; }
       
   782 RESOURCE TBUF r_lmrefapp_category_name { buf = qtn_lmrefapp_category_name; }
       
   783 RESOURCE TBUF r_lmrefapp_undefined_category { buf = qtn_lmrefapp_undefined_category; }
       
   784 RESOURCE TBUF r_lmrefapp_delete_landmark { buf = qtn_lmrefapp_delete_landmark; }
       
   785 RESOURCE TBUF r_lmrefapp_edit_cat_title { buf = qtn_lmrefapp_edit_cat_title; }
       
   786 RESOURCE TBUF r_lmrefapp_acquiring_loc_error { buf = qtn_lmrefapp_acquiring_loc_error; }
       
   787 RESOURCE TBUF r_lmrefapp_empty_landmark_name_error { buf = qtn_lmrefapp_empty_landmark_error; }
       
   788 RESOURCE TBUF r_lmrefapp_last_location_used_info { buf = qtn_lmrefapp_last_location_used_info; }