phonebookui/Phonebook2/MapExtension/rss/pbk2mapuires.rss
changeset 0 e686773b3f54
child 21 9da50d567e3c
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     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:  Map extension resources.
       
    15 *
       
    16 */
       
    17 
       
    18 // Phonebook 2
       
    19 #include "pbk2mapuiuid.h"
       
    20 #include "pbk2mapcommands.hrh"
       
    21 #include <Pbk2Commands.hrh>
       
    22 #include <Pbk2Commands.rsg>
       
    23 #include <Pbk2UIExtension.rh>
       
    24 #include <Pbk2ViewId.hrh>
       
    25 #include <phonebook2.loc>
       
    26 #include "Pbk2UIControls.hrh"
       
    27 #include <Pbk2UIControls.rsg>
       
    28 #include "Pbk2EditorLineIds.hrh" 
       
    29 #include "Pbk2FieldProperty.hrh" 
       
    30 #include "Pbk2UIFieldProperty.hrh"
       
    31 #include "Pbk2UIFieldProperty.rh"
       
    32 #include <Pbk2IconId.rh>
       
    33 #include <phonebook2ece.loc>
       
    34 #include <Pbk2UID.h>
       
    35 
       
    36 // AIW
       
    37 #include <AiwCommon.rh>
       
    38 
       
    39 // System includes
       
    40 #include <avkon.loc>
       
    41 #include <uikon.rh>
       
    42 #include <eikon.rh>
       
    43 #include <avkon.rh>
       
    44 #include <avkon.rsg>
       
    45 #include <avkon.mbg>
       
    46 #include <AvkonIcons.hrh>
       
    47 
       
    48 // --------------------------------------------------------------------------
       
    49 // Resource identifier
       
    50 // --------------------------------------------------------------------------
       
    51 //
       
    52 NAME P2MA  // From Phonebook 2 Map UI
       
    53 
       
    54 // --------------------------------------------------------------------------
       
    55 // Standard resource signature
       
    56 // --------------------------------------------------------------------------
       
    57 //
       
    58 RESOURCE RSS_SIGNATURE { }
       
    59 
       
    60 // --------------------------------------------------------------------------
       
    61 // Extension information
       
    62 // --------------------------------------------------------------------------
       
    63 //
       
    64 RESOURCE PHONEBOOK2_EXTENSION_INFORMATION 
       
    65         r_phonebook2_map_ui_extension_information
       
    66     {
       
    67     version = 0;
       
    68 
       
    69     implementationUid = KPbk2MapExtensionImplementationUID;
       
    70 
       
    71     loadingPolicy = KPbk2LoadInStartup;
       
    72     
       
    73     menuCommandRange = PHONEBOOK2_EXTENSION_RANGE
       
    74         {
       
    75         firstId = EMapExtensionFirstCommand;
       
    76         lastId = EMapExtensionLastCommand;
       
    77         };
       
    78     overwrittenCommands = {};
       
    79     extensionMenus = {};
       
    80     viewIds = {};
       
    81     iconArrays = {};
       
    82     }
       
    83 
       
    84 // --------------------------------------------------------------------------
       
    85 // TBUF
       
    86 // Resource for assign from map field in address editor
       
    87 // --------------------------------------------------------------------------
       
    88 //
       
    89 RESOURCE TBUF r_qtn_phob_address_editor_assign_from_map
       
    90     { 
       
    91     buf = qtn_phob_address_editor_assign_from_map; 
       
    92     }
       
    93 
       
    94 // --------------------------------------------------------------------------
       
    95 // TBUF
       
    96 // r_qtn_phob_note_address_updated
       
    97 // --------------------------------------------------------------------------
       
    98 //
       
    99 RESOURCE TBUF r_qtn_phob_note_address_updated
       
   100     {
       
   101     buf = qtn_phob_note_address_updated;
       
   102     }
       
   103 
       
   104 // --------------------------------------------------------------------------
       
   105 // TBUF
       
   106 // r_qtn_phob_confirm_change_address
       
   107 // --------------------------------------------------------------------------
       
   108 //
       
   109 RESOURCE TBUF r_qtn_phob_confirm_change_address
       
   110     {
       
   111     buf = qtn_phob_confirm_change_address;
       
   112     }
       
   113 
       
   114 // --------------------------------------------------------------------------
       
   115 // TBUF
       
   116 // r_qtn_phob_no_address_define_new
       
   117 // --------------------------------------------------------------------------
       
   118 //
       
   119 RESOURCE TBUF r_qtn_phob_no_address_define_new
       
   120     {
       
   121     buf = qtn_phob_no_address_define_new;
       
   122     }
       
   123 
       
   124 // --------------------------------------------------------------------------
       
   125 // Assign from maps line
       
   126 // --------------------------------------------------------------------------
       
   127 //
       
   128 RESOURCE DLG_LINE r_pbk2_assign_from_maps_line  
       
   129     {
       
   130     type = EPbk2FieldCtrlTypeExtAssignFromMapsEditor; 
       
   131     prompt = qtn_phob_nokia_maps;
       
   132     id = EPbk2EditorLineAssignFromMaps; 
       
   133     itemflags = EEikDlgItemTakesEnterKey |
       
   134                 EEikDlgItemOfferAllHotKeys;
       
   135     control = EDWIN
       
   136         {
       
   137         flags = EEikEdwinNoAutoSelection |
       
   138                 EEikEdwinNoWrap |
       
   139                 EEikEdwinNoHorizScrolling |
       
   140                 EEikEdwinReadOnly |
       
   141                 EEikEdwinAvkonNotEditable |
       
   142                 EEikEdwinAvkonDisableCursor;
       
   143         maxlength = 50; 
       
   144         lines = 1;
       
   145         max_view_height_in_lines = 1;
       
   146         avkon_flags = EAknEditorFlagDefault |
       
   147                       EAknEditorFlagNoEditIndicators |
       
   148                       EAknEditorFlagNoLRNavigation;
       
   149         };
       
   150     }
       
   151 
       
   152 // End of File