phonebookui/Phonebook2/Application/rss/Pbk2MenuResources.rss
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
child 68 9da50d567e3c
equal deleted inserted replaced
62:5b6f26637ad3 63:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2005-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:  This file contains menu resources for Phonebook2.exe.
       
    15 *                The menu pane resources can be found from Pbk2Commands.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // INCLUDES
       
    21 #include <Pbk2Commands.rsg>     // menu pane definitions are here
       
    22 #include <Pbk2UIControls.rsg>   // CBA resources
       
    23 
       
    24 // --------------------------------------------------------------------------
       
    25 // Names List View's main resource
       
    26 // --------------------------------------------------------------------------
       
    27 //
       
    28 RESOURCE AVKON_VIEW r_phonebook2_nameslist_appview
       
    29     {
       
    30     menubar = r_phonebook2_nameslist_menubar;
       
    31     cba = R_AVKON_SOFTKEYS_EXIT;
       
    32     }
       
    33 
       
    34 // --------------------------------------------------------------------------
       
    35 // Contact Info View's main resource
       
    36 // --------------------------------------------------------------------------
       
    37 //
       
    38 RESOURCE AVKON_VIEW r_phonebook2_contactinfo_appview
       
    39     {
       
    40     menubar = r_phonebook2_contactinfo_menubar;
       
    41     cba = R_AVKON_SOFTKEYS_EXIT;
       
    42     toolbar = 0;
       
    43     }
       
    44 
       
    45 // --------------------------------------------------------------------------
       
    46 // Settings View's main resource
       
    47 // --------------------------------------------------------------------------
       
    48 //
       
    49 RESOURCE AVKON_VIEW r_phonebook2_settings_appview
       
    50     {
       
    51     menubar = r_phonebook2_settings_menubar;
       
    52     cba = R_PBK2_SOFTKEYS_OPTIONS_BACK_CHANGE;
       
    53     toolbar = 0;
       
    54     }
       
    55 
       
    56 // --------------------------------------------------------------------------
       
    57 // Names List View's menu bar
       
    58 // --------------------------------------------------------------------------
       
    59 //
       
    60 RESOURCE MENU_BAR r_phonebook2_nameslist_menubar
       
    61     {
       
    62     titles =
       
    63         {
       
    64         MENU_TITLE
       
    65             {
       
    66             menu_pane = R_PHONEBOOK2_SYSTEM_MENU;
       
    67             },
       
    68         MENU_TITLE
       
    69             {
       
    70             // Having "setting" positioned that up is annoying for the end users
       
    71             // when more common option items are harder to reach.
       
    72             // Adjust it to next to system(help, exit)item.
       
    73             menu_pane = R_PHONEBOOK2_SETTINGS_MENU;
       
    74             },            
       
    75 /*            
       
    76         MENU_TITLE
       
    77             {
       
    78             menu_pane = R_PHONEBOOK2_SYNCML_MENU;
       
    79             },
       
    80 */            
       
    81         MENU_TITLE
       
    82             {
       
    83             menu_pane = R_PHONEBOOK2_NAMESLIST_BACKUP_MENU_PLACEHOLDER;
       
    84             },
       
    85         MENU_TITLE
       
    86             {
       
    87             menu_pane = R_PHONEBOOK2_NAMESLIST_OTHER_MEMORIES_MENU_PLACEHOLDER;
       
    88             },
       
    89         MENU_TITLE
       
    90             {
       
    91             menu_pane = R_PHONEBOOK2_INFO_MENU;
       
    92             },        
       
    93         MENU_TITLE
       
    94             {
       
    95             menu_pane = R_PHONEBOOK2_OVISYNC_MENU;
       
    96             },
       
    97         MENU_TITLE
       
    98             {
       
    99             menu_pane = R_PHONEBOOK2_RCL_MENU;
       
   100             },
       
   101         MENU_TITLE
       
   102             {
       
   103             // This menu item allows xSP plug-ins inserting their own menu items
       
   104             // in names list Options menu.
       
   105             menu_pane = R_PHONEBOOK2_NAMESLIST_MAIN_MENU;
       
   106             },
       
   107         MENU_TITLE
       
   108             {
       
   109             menu_pane = R_AVKON_MENUPANE_MARK_MULTIPLE;
       
   110             },            
       
   111         MENU_TITLE
       
   112             {
       
   113             menu_pane = R_PHONEBOOK2_MERGE_CONTACTS;
       
   114             },
       
   115         MENU_TITLE
       
   116             {
       
   117             menu_pane = R_PHONEBOOK2_NAMESLIST_COPY_MENU;
       
   118             },
       
   119         MENU_TITLE
       
   120             {
       
   121             menu_pane = R_PHONEBOOK2_NAMESLIST_DELETE_MENU;
       
   122             },
       
   123         MENU_TITLE
       
   124             {
       
   125             menu_pane = R_PHONEBOOK2_NAMESLIST_SEND_URL_MENU;
       
   126             },
       
   127         MENU_TITLE
       
   128             {
       
   129             menu_pane = R_PHONEBOOK2_REMOVE_FROM_TOPCONTACTS;
       
   130             },            
       
   131         MENU_TITLE
       
   132             {
       
   133             menu_pane = R_PHONEBOOK2_ADD_TO_TOPCONTACTS;
       
   134             },            
       
   135         MENU_TITLE
       
   136             {
       
   137             menu_pane = R_PHONEBOOK2_NAMELIST_CREATE_MESSAGE_MENU;
       
   138             },
       
   139         MENU_TITLE
       
   140             {
       
   141             menu_pane = R_PHONEBOOK2_NAMELIST_CALL_CONTACT_MENU;
       
   142             },
       
   143         MENU_TITLE
       
   144             {
       
   145             menu_pane = R_PHONEBOOK2_NAMESLIST_CREATE_MENU;
       
   146             },
       
   147         MENU_TITLE
       
   148             {
       
   149             menu_pane = R_PHONEBOOK2_SELECT_ADDFAVORITES; 
       
   150             },
       
   151         MENU_TITLE
       
   152             {
       
   153             menu_pane = R_PHONEBOOK2_SELECT_MYCARD; 
       
   154             },
       
   155         MENU_TITLE
       
   156             {
       
   157             menu_pane = R_PHONEBOOK2_SELECT_RCL; 
       
   158             },
       
   159         MENU_TITLE
       
   160             {
       
   161             menu_pane = R_PHONEBOOK2_OPEN_CCA; 
       
   162             }            
       
   163         };
       
   164     }
       
   165 
       
   166 // --------------------------------------------------------------------------
       
   167 // Names List View's context sensitive menu bar
       
   168 // --------------------------------------------------------------------------
       
   169 //
       
   170 RESOURCE MENU_BAR r_phonebook2_nameslist_context_menubar
       
   171     {
       
   172     titles =
       
   173         {
       
   174         MENU_TITLE
       
   175             {
       
   176             menu_pane = R_PHONEBOOK2_NAMESLIST_COPY_CONTEXT_MENU;
       
   177             },
       
   178         MENU_TITLE
       
   179             {
       
   180             menu_pane = R_PHONEBOOK2_SETTINGS_MENU;
       
   181             },         
       
   182         MENU_TITLE
       
   183             {
       
   184             menu_pane = R_PHONEBOOK2_SYNCML_MENU;
       
   185             },               
       
   186         MENU_TITLE
       
   187             {
       
   188             menu_pane = R_PHONEBOOK2_NAMESLIST_BACKUP_MENU_PLACEHOLDER;
       
   189             },        
       
   190         MENU_TITLE
       
   191             {
       
   192             menu_pane = R_PHONEBOOK2_NAMESLIST_CONTEXT_MENU;
       
   193             }
       
   194         };
       
   195     }
       
   196 
       
   197 
       
   198 // --------------------------------------------------------------------------
       
   199 // Contact Info View's menu bar
       
   200 // --------------------------------------------------------------------------
       
   201 //
       
   202 RESOURCE MENU_BAR r_phonebook2_contactinfo_menubar
       
   203     {
       
   204     titles =
       
   205         {
       
   206         MENU_TITLE
       
   207             {
       
   208             menu_pane = R_PHONEBOOK2_SYSTEM_MENU;
       
   209             },
       
   210         MENU_TITLE
       
   211             {
       
   212             menu_pane = R_PHONEBOOK2_CONTACTINFO_EXTENDED_MENU;
       
   213             },
       
   214         MENU_TITLE
       
   215             {
       
   216             menu_pane = R_PHONEBOOK2_SIND_INFOVIEW_MENU;
       
   217             },
       
   218         MENU_TITLE
       
   219             {
       
   220             menu_pane = R_PHONEBOOK2_CONTACTINFO_EDIT_MENU;
       
   221             },
       
   222         MENU_TITLE
       
   223             {
       
   224             menu_pane = R_PHONEBOOK2_POC_MENU;
       
   225             },
       
   226         MENU_TITLE
       
   227             {
       
   228             menu_pane = R_PHONEBOOK2_CALL_MENU;
       
   229             }
       
   230         };
       
   231     }
       
   232 
       
   233 // --------------------------------------------------------------------------
       
   234 // Contact Info View's context menu bar
       
   235 // --------------------------------------------------------------------------
       
   236 //
       
   237 RESOURCE MENU_BAR r_phonebook2_contactinfo_contextbar
       
   238     {
       
   239     titles =
       
   240         {
       
   241         MENU_TITLE
       
   242             {
       
   243             menu_pane = R_PHONEBOOK2_CONTACTINFO_CONTEXT_MENU;
       
   244             },
       
   245         MENU_TITLE
       
   246             {
       
   247             menu_pane = R_PHONEBOOK2_POC_CONTEXT_MENU;
       
   248             },
       
   249         MENU_TITLE
       
   250             {
       
   251             menu_pane = R_PHONEBOOK2_CALL_CONTEXT_MENU;
       
   252             }
       
   253         };
       
   254     }
       
   255 
       
   256 // --------------------------------------------------------------------------
       
   257 // Settings View's menu bar
       
   258 // --------------------------------------------------------------------------
       
   259 //
       
   260 RESOURCE MENU_BAR r_phonebook2_settings_menubar
       
   261     {
       
   262     titles =
       
   263         {
       
   264         MENU_TITLE
       
   265             {
       
   266             menu_pane = R_PHONEBOOK2_SYSTEM_MENU;
       
   267             },
       
   268         MENU_TITLE
       
   269             {
       
   270             menu_pane = R_PHONEBOOK2_SETTINGSVIEW_MENU;
       
   271             }
       
   272         };
       
   273     }
       
   274 
       
   275 // End of File