mapnavproviderrefapp/data/mnrefprovider.rss
branchRCL_3
changeset 18 870918037e16
parent 0 522cd55cc3d7
equal deleted inserted replaced
17:1fc85118c3ae 18:870918037e16
       
     1 /*
       
     2 * Copyright (c) 2006 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 definition file for MnRefProvider
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 NAME MNTP
       
    20 
       
    21 #include <eikon.rsg>
       
    22 #include <eikon.rh>
       
    23 #include <avkon.rsg>
       
    24 #include <avkon.mbg>
       
    25 #include <avkon.rh>
       
    26 
       
    27 #include <appinfo.rh>
       
    28 #include "mnrp.hrh"
       
    29 
       
    30 RESOURCE RSS_SIGNATURE {  }
       
    31 
       
    32 RESOURCE TBUF { buf="MnRefProvider"; }
       
    33 
       
    34 RESOURCE EIK_APP_INFO
       
    35     {
       
    36     menubar = r_mnrefprovider_menubar;
       
    37     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
    38     }
       
    39 
       
    40 RESOURCE LOCALISABLE_APP_INFO r_mnrefprovider_localisable_app_info
       
    41     {
       
    42     short_caption = "MnRefProvider";
       
    43     caption_and_icon =
       
    44         CAPTION_AND_ICON_INFO
       
    45             {
       
    46             caption = "MnRefProvider";
       
    47             };
       
    48     view_list = {};
       
    49     }
       
    50 
       
    51 RESOURCE CONTEXT_PANE r_mnrefprovider_app_icon
       
    52     {
       
    53     }
       
    54 
       
    55 RESOURCE MENU_BAR r_mnrefprovider_menubar
       
    56     {
       
    57     titles =
       
    58         {
       
    59         MENU_TITLE
       
    60             {
       
    61             menu_pane = r_mnrefprovider_menu;
       
    62             }
       
    63         };
       
    64     }
       
    65 
       
    66 RESOURCE MENU_PANE r_mnrefprovider_menu
       
    67     {
       
    68     items =
       
    69         {
       
    70         MENU_ITEM
       
    71             {
       
    72             command = EAknSoftkeyExit;
       
    73             txt = "Exit";
       
    74             }
       
    75         };
       
    76     }
       
    77 
       
    78 RESOURCE DIALOG r_mnrefprovider_selection_dialog
       
    79     {
       
    80     flags = EAknDialogSelectionList;
       
    81     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
    82     items =
       
    83         {
       
    84         DLG_LINE
       
    85             {
       
    86             type = EAknCtSingleGraphicListBox;
       
    87             id = ESelectionListControl;
       
    88             control = LISTBOX
       
    89                 {
       
    90                 flags = EAknListBoxSelectionList;
       
    91                 };
       
    92             },
       
    93         // the next dlg line is optional.
       
    94         DLG_LINE
       
    95             {
       
    96             itemflags = EEikDlgItemNonFocusing;
       
    97             id = EFindControl;
       
    98             type = EAknCtSelectionListFixedFind;
       
    99             }
       
   100         };
       
   101     }
       
   102 
       
   103 RESOURCE AVKON_VIEW r_mnrefprovider_map_view
       
   104     {
       
   105     menubar = r_mnrefprovider_map_view_menubar;
       
   106     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
   107     }
       
   108 
       
   109 RESOURCE AVKON_VIEW r_mnrefprovider_map_view_chained
       
   110     {
       
   111     menubar = r_mnrefprovider_map_view_menubar;
       
   112     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
       
   113     }
       
   114 
       
   115 RESOURCE MENU_BAR r_mnrefprovider_map_view_menubar
       
   116     {
       
   117     titles =
       
   118         {
       
   119         MENU_TITLE
       
   120             {
       
   121             menu_pane = r_mnrefprovider_map_view_menu;
       
   122             }
       
   123         };
       
   124     }
       
   125 
       
   126 RESOURCE MENU_PANE r_mnrefprovider_map_view_menu
       
   127     {
       
   128     items =
       
   129         {
       
   130         MENU_ITEM
       
   131             {
       
   132             command = EMnrpCommandSelect;
       
   133             txt = "Select";
       
   134             },
       
   135         MENU_ITEM
       
   136             {
       
   137             command = EMnrpCommandFullScreen;
       
   138             txt = "Toggle Fullscreen";
       
   139             },
       
   140         MENU_ITEM
       
   141             {
       
   142             command = EAknSoftkeyExit;
       
   143             txt = "Exit";
       
   144             }
       
   145         };
       
   146     }
       
   147 
       
   148 RESOURCE AVKON_VIEW r_mnrefprovider_navi_view
       
   149     {
       
   150     cba = R_AVKON_SOFTKEYS_EXIT;
       
   151     }
       
   152 
       
   153 RESOURCE AVKON_VIEW r_mnrefprovider_navi_view_chained
       
   154     {
       
   155     cba = R_AVKON_SOFTKEYS_BACK;
       
   156     }