phonebookui/Phonebook2/xSPExtensionManager/rss/ExtensionManagerRes.rss
changeset 0 e686773b3f54
child 7 b3431bff8c19
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     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: 
       
    15 *     This file contains all the resources for ExtensionManager.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME    XMGR // 4 letter ID
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <uikon.rh>
       
    26 #include <eikon.rh>
       
    27 #include <avkon.rh>
       
    28 #include <avkon.hrh>
       
    29 #include <avkon.rsg>
       
    30 #include <avkon.loc>
       
    31 
       
    32 #include "ExtensionManager.hrh"
       
    33 
       
    34 // Phonebook 2
       
    35 #include <Pbk2UIExtension.rh>
       
    36 #include <Pbk2ViewId.hrh>
       
    37 #include <Pbk2MenuFilteringFlags.hrh>
       
    38 #include <Pbk2ViewInfo.hrh>
       
    39 #include <Pbk2ViewGraph.rh>
       
    40 #include <Pbk2IconInfo.rh>
       
    41 #include <Pbk2IconId.rh>
       
    42 #include <Pbk2UID.h>
       
    43 
       
    44 #include "xSPCommandInfo.rh"
       
    45 #include "xSPViewInfo.rh"
       
    46 #include <extensionmanager.loc>
       
    47 #include "ExtensionManagerUID.H"
       
    48 
       
    49 //  RESOURCE DEFINITIONS 
       
    50 
       
    51 // ---------------------------------------------------------
       
    52 // Standard resource signature
       
    53 // ---------------------------------------------------------
       
    54 //
       
    55 RESOURCE RSS_SIGNATURE { }
       
    56 
       
    57 
       
    58 // --------------------------------------------------------------------------
       
    59 // Extension information
       
    60 // --------------------------------------------------------------------------
       
    61 //
       
    62 RESOURCE PHONEBOOK2_EXTENSION_INFORMATION
       
    63         r_extension_manager_ui_extension_information
       
    64     {
       
    65     version = 0;
       
    66 
       
    67     implementationUid = KEXTENSIONMANAGERIMPLEMENTATIONUID;
       
    68     loadingPolicy = KPbk2LoadInStartup;
       
    69 
       
    70     menuCommandRange = PHONEBOOK2_EXTENSION_RANGE
       
    71         {
       
    72         firstId = EExtensionManagerFirstCommand;
       
    73         lastId = EExtensionManagerLastCommand;
       
    74         };
       
    75     overwrittenCommands = {};
       
    76     extensionMenus = {};
       
    77     
       
    78     viewIds =
       
    79         {
       
    80         PHONEBOOK2_EXTENSION_VIEW_ID
       
    81             {
       
    82             version = 0;
       
    83             viewId = EExtensionManagerSortViewId;
       
    84             viewResource = r_extension_manager_sort_view;
       
    85             }
       
    86         };
       
    87 
       
    88     viewGraphModification = r_extension_manager_ui_extension_viewgraph;
       
    89     }
       
    90 
       
    91 RESOURCE PBK2_VIEW_GRAPH r_extension_manager_ui_extension_viewgraph
       
    92     {
       
    93     nodes =
       
    94         {
       
    95         /// Sort view
       
    96         PBK2_VIEW_NODE
       
    97             {
       
    98             version = 0;
       
    99             viewId = EExtensionManagerSortViewId;
       
   100             defaultPrevViewId = EPbk2ExitViewId;
       
   101             transitions =
       
   102                 {
       
   103                 PBK2_VIEW_TRANSITION
       
   104                     {
       
   105                     event = EPbk2ViewTransitionBack;
       
   106                     targetViewId = EPbk2NullViewId;
       
   107                     }
       
   108                 };
       
   109             }
       
   110         };
       
   111     }
       
   112 
       
   113 // Basic viewgraph that is used with all xSP views
       
   114 RESOURCE ARRAY r_extension_manager_basic_viewgraph
       
   115     {
       
   116     items =
       
   117         {
       
   118         PBK2_VIEW_TRANSITION
       
   119             {
       
   120                 version = 0;
       
   121                 event = EPbk2ViewTransitionBack;
       
   122                 targetViewId = EPbk2NullViewId;
       
   123             }
       
   124         };
       
   125     }
       
   126 
       
   127 
       
   128 RESOURCE AVKON_VIEW r_extension_manager_basicview
       
   129     {
       
   130     menubar = r_extension_manager_menubar;
       
   131     cba = R_AVKON_SOFTKEYS_EXIT;
       
   132     }
       
   133     
       
   134 RESOURCE MENU_PANE r_extension_manager_menu
       
   135     {
       
   136     items={};
       
   137     }  
       
   138     
       
   139     
       
   140 RESOURCE MENU_BAR r_extension_manager_menubar
       
   141     {
       
   142     titles = 
       
   143         {
       
   144         MENU_TITLE
       
   145             {
       
   146             menu_pane = r_extension_manager_menu;
       
   147             }                                
       
   148         };
       
   149     }    
       
   150 
       
   151 /**
       
   152  * Names List View example options submenu
       
   153  */
       
   154 RESOURCE MENU_PANE r_sort_names_list_view_menu
       
   155     {
       
   156     items =
       
   157         {
       
   158         MENU_ITEM
       
   159             {
       
   160             command = EExtensionManagerCmdSort;
       
   161             txt = qtn_extension_manager_opt_sort;
       
   162             }           
       
   163         };
       
   164     }
       
   165 
       
   166 
       
   167 RESOURCE CBA r_extension_manager_sort_view_softkeys
       
   168     {
       
   169     buttons =
       
   170         {
       
   171         CBA_BUTTON { id = EExtensionManagerCmdMove; txt = qtn_extension_manager_softkey_move; },
       
   172         CBA_BUTTON { id = EAknSoftkeyExit; txt = text_softkey_exit; }
       
   173         };
       
   174     }
       
   175 
       
   176 RESOURCE AVKON_VIEW r_extension_manager_sort_view
       
   177     {
       
   178     cba = r_extension_manager_sort_view_softkeys;
       
   179     }
       
   180 
       
   181 RESOURCE XSP_COMMAND_INFO_ARRAY r_extension_manager_command_info
       
   182     {
       
   183     items =
       
   184         {
       
   185         XSP_COMMAND_INFO
       
   186             {
       
   187             oldId = EExtensionManagerCmdSort;
       
   188             }
       
   189         };  
       
   190     }
       
   191 
       
   192 RESOURCE XSP_VIEW_INFO_ARRAY r_extension_manager_view_info  
       
   193     {
       
   194     items =
       
   195         {
       
   196         XSP_VIEW_INFO
       
   197             {
       
   198             oldId = EExtensionManagerSortViewId;
       
   199             }
       
   200         };
       
   201     }
       
   202 
       
   203 RESOURCE TBUF r_qtn_extension_manager_shutdown_note { buf = qtn_extension_manager_shutdown_note; }
       
   204 
       
   205 // End of File