--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook2/USIMExtension/rss/Pbk2USimInformation.rss Wed Sep 01 12:29:52 2010 +0100
@@ -0,0 +1,827 @@
+/*
+* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Phonebook 2 USIM UI Extension resource information.
+*
+*/
+
+
+#include "Pbk2USIMUIUID.h"
+#include <Pbk2ContentIdentifiers.hrh>
+
+
+// --------------------------------------------------------------------------
+// Extension information
+// --------------------------------------------------------------------------
+//
+RESOURCE PHONEBOOK2_EXTENSION_INFORMATION
+ r_phonebook2_usim_ui_extension_information
+ {
+ version = 0;
+
+ implementationUid = KPbk2USIMExtensionImplementationUID;
+
+ loadingPolicy = KPbk2LoadOnCommandExecution |
+ KPbk2LoadOnContactEditorExecution;
+ menuCommandRange = PHONEBOOK2_EXTENSION_RANGE
+ {
+ firstId = EUSimUiExtensionFirstCommand;
+ lastId = EUSimUiExtensionLastCommand;
+ };
+
+ // Help cmd not implemented, forces plugin load
+ overwrittenCommands = { EPbk2CmdCopyContacts,
+ EAknCmdHelp };
+
+ extensionMenus =
+ {
+ PHONEBOOK2_EXTENSION_MENU_RESOURCE
+ {
+ // Name list view: the main level "SIM memory" item
+ version = 0;
+ viewId = EPbk2NamesListViewId;
+ menuFilteringFlags = 0; // dynamic filtering in USimThinUiExtension
+ parentMenu = R_PHONEBOOK2_NAMESLIST_OTHER_MEMORIES_MENU_PLACEHOLDER;
+ prevCommand = EPbk2CmdOtherMemoriesPlaceholderFirst;
+ menuPane = r_psu2_sim_memory_menu_pane;
+ },
+ PHONEBOOK2_EXTENSION_MENU_RESOURCE
+ {
+ // Name list view: "My numbers" menu item
+ version = 0;
+ viewId = EPbk2NamesListViewId;
+ menuFilteringFlags = 0;
+ parentMenu = r_psu2_cascading_sim_memory_menu_pane;
+ prevCommand = EPsu2CmdFirstSimMemoryMenuItem;
+ menuPane = r_psu2_sim_memory_own_number_menu_pane;
+ },
+ PHONEBOOK2_EXTENSION_MENU_RESOURCE
+ {
+ // Name list view: "Copy all to phone" menu item
+ version = 0;
+ viewId = EPbk2NamesListViewId;
+ menuFilteringFlags = 0;
+ parentMenu = r_psu2_cascading_sim_memory_menu_pane;
+ prevCommand = EPsu2CmdLaunchOwnNumberView;
+ menuPane = r_psu2_sim_memory_copy_all_to_phonememory;
+ },
+ PHONEBOOK2_EXTENSION_MENU_RESOURCE
+ {
+ // Name list view: "Service dialing numbers" menu item
+ version = 0;
+ viewId = EPbk2NamesListViewId;
+ menuFilteringFlags = 0;
+ parentMenu = r_psu2_cascading_sim_memory_menu_pane;
+ prevCommand = EPsu2CmdCopyToContacts;
+ menuPane = r_psu2_sim_memory_sdn_menu_pane;
+ },
+ PHONEBOOK2_EXTENSION_MENU_RESOURCE
+ {
+ // Name list view: "Fixed dialing numbers" menu item
+ version = 0;
+ viewId = EPbk2NamesListViewId;
+ menuFilteringFlags = 0;
+ parentMenu = r_psu2_cascading_sim_memory_menu_pane;
+ prevCommand = EPsu2CmdLaunchServiceDialingView;
+ menuPane = r_psu2_sim_memory_fdn_menu_pane;
+ }
+ };
+
+ viewIds =
+ {
+ PHONEBOOK2_EXTENSION_VIEW_ID
+ {
+ version = 0;
+ viewId = EPsu2OwnNumberViewId;
+ viewResource = r_psu2_own_number_appview;
+ },
+ PHONEBOOK2_EXTENSION_VIEW_ID
+ {
+ version = 0;
+ viewId = EPsu2ServiceDialingViewId;
+ viewResource = r_psu2_service_dialing_appview;
+ },
+ PHONEBOOK2_EXTENSION_VIEW_ID
+ {
+ version = 0;
+ viewId = EPsu2FixedDialingViewId;
+ viewResource = r_psu2_fixed_dialing_appview;
+ },
+ PHONEBOOK2_EXTENSION_VIEW_ID
+ {
+ version = 0;
+ viewId = EPsu2ServiceDialingInfoViewId;
+ viewResource = r_psu2_service_dialing_info_view;
+ },
+ PHONEBOOK2_EXTENSION_VIEW_ID
+ {
+ version = 0;
+ viewId = EPsu2FixedDialingInfoViewId;
+ viewResource = r_psu2_fixed_dialing_info_view;
+ }
+ };
+
+ viewGraphModification = r_psu2_viewgraph;
+ iconInformation = r_psu2_icon_information;
+ storePropertyArray = r_psu2_store_properties;
+ }
+
+// --------------------------------------------------------------------------
+// A menu pane for "SIM memory" menu item
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_sim_memory_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdCascadingSimMemory;
+ cascade = r_psu2_cascading_sim_memory_menu_pane;
+ txt = qtn_phob_opt_sim_memory;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Cascading SIM memory menu pane
+// Contains place holder that is always dimmed.
+// Place holder is added because otherwise it would be impossible to
+// insert menu items to the first place.
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_cascading_sim_memory_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdFirstSimMemoryMenuItem;
+ txt = "";
+ flags = EEikMenuItemDimmed;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Copy all SIM contacts menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_sim_memory_copy_all_to_phonememory
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdCopyToContacts;
+ txt = qtn_phob_opt_sub_copy_all;
+ }
+ };
+ }
+
+
+// --------------------------------------------------------------------------
+// Own/My numbers launch menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_sim_memory_own_number_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdLaunchOwnNumberView;
+ txt = qtn_phob_opt_sub_my_numbers;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Service dialing numbers launch menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_sim_memory_sdn_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdLaunchServiceDialingView;
+ txt = qtn_phob_opt_sub_sdn;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Fixed dialing numbers launch menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_sim_memory_fdn_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdLaunchFixedDialingView;
+ txt = qtn_phob_opt_sub_fdn;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// USIM extension view graph
+// --------------------------------------------------------------------------
+//
+RESOURCE PBK2_VIEW_GRAPH r_psu2_viewgraph
+ {
+ nodes =
+ {
+ // Own number view
+ PBK2_VIEW_NODE
+ {
+ version = 0;
+ // Id of the view that this node represents.
+ viewId = EPsu2OwnNumberViewId;
+ // Default previous view of this view.
+ defaultPrevViewId = EPbk2NamesListViewId;
+ // Transitions from this view node.
+ transitions =
+ {
+ PBK2_VIEW_TRANSITION
+ {
+ // Event that enables this transition.
+ event = EPbk2ViewTransitionBack;
+ // Target view of this transition.
+ targetViewId = EPbk2NamesListViewId;
+ }
+ };
+ tabGroupId = EPbk2OwnNumberTabGroup;
+ tabGroupOrdering = 0;
+ tabs = r_psu2_own_number_view_tabs;
+ },
+ // Service dialing name list view
+ PBK2_VIEW_NODE
+ {
+ version = 0;
+ // Id of the view that this node represents.
+ viewId = EPsu2ServiceDialingViewId;
+ // Default previous view of this view.
+ defaultPrevViewId = EPbk2NamesListViewId;
+ // Transitions from this view node.
+ transitions =
+ {
+ PBK2_VIEW_TRANSITION
+ {
+ // Event that enables this transition.
+ event = EPbk2ViewTransitionBack;
+ // Target view of this transition.
+ targetViewId = EPbk2NamesListViewId;
+ }
+ };
+ tabGroupId = EPbk2ServiceDialingTabGroup;
+ tabGroupOrdering = 0;
+ tabs = r_psu2_service_dialing_view_tabs;
+ },
+ // Fixed dialing name list view
+ PBK2_VIEW_NODE
+ {
+ version = 0;
+ // Id of the view that this node represents.
+ viewId = EPsu2FixedDialingViewId;
+ // Default previous view of this view.
+ defaultPrevViewId = EPbk2NamesListViewId;
+ // Transitions from this view node.
+ transitions =
+ {
+ PBK2_VIEW_TRANSITION
+ {
+ // Event that enables this transition.
+ event = EPbk2ViewTransitionBack;
+ // Target view of this transition.
+ targetViewId = EPbk2NamesListViewId;
+ }
+ };
+ tabGroupId = EPbk2FixedDialingTabGroup;
+ tabGroupOrdering = 0;
+ tabs = r_psu2_fixed_dialing_view_tabs;
+ },
+ // Service dialing info view
+ PBK2_VIEW_NODE
+ {
+ version = 0;
+ // Id of the view that this node represents.
+ viewId = EPsu2ServiceDialingInfoViewId;
+ // Default previous view of this view.
+ defaultPrevViewId = EPsu2ServiceDialingViewId;
+ // Transitions from this view node.
+ transitions =
+ {
+ PBK2_VIEW_TRANSITION
+ {
+ // Event that enables this transition.
+ event = EPbk2ViewTransitionBack;
+ // Target view of this transition.
+ targetViewId = EPsu2ServiceDialingViewId;
+ }
+ };
+ tabGroupId = EPbk2ServiceDialingTabGroup;
+ tabGroupOrdering = 0;
+ tabs = r_psu2_service_dialing_info_view_tabs;
+ },
+ // Fixed dialing info view
+ PBK2_VIEW_NODE
+ {
+ version = 0;
+ // Id of the view that this node represents.
+ viewId = EPsu2FixedDialingInfoViewId;
+ // Default previous view of this view.
+ defaultPrevViewId = EPsu2FixedDialingViewId;
+ // Transitions from this view node.
+ transitions =
+ {
+ PBK2_VIEW_TRANSITION
+ {
+ // Event that enables this transition.
+ event = EPbk2ViewTransitionBack;
+ // Target view of this transition.
+ targetViewId = EPsu2FixedDialingViewId;
+ }
+ };
+ tabGroupId = EPbk2FixedDialingTabGroup;
+ tabGroupOrdering = 0;
+ tabs = r_psu2_fixed_dialing_info_view_tabs;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Icon information
+// --------------------------------------------------------------------------
+//
+RESOURCE PHONEBOOK2_EXTENSION_ICON_INFORMATION r_psu2_icon_information
+ {
+ // A link to the array that contains PBK2_ICON_INFOs
+ iconInfoArray = r_psu2_icon_info_array;
+
+ // A link to the array that contains PHONEBOOK2_EXTENSION_ICON_ARRAYs
+ iconArrays =
+ {
+ PHONEBOOK2_EXTENSION_ICON_ARRAY
+ {
+ // Extension icons for contact list
+ parentIconArrayId = EPbk2ContactListIconArrayId;
+ iconArray = r_psu_2_contact_list_icon_array;
+ },
+ PHONEBOOK2_EXTENSION_ICON_ARRAY
+ {
+ // Extension icons for field type icons
+ parentIconArrayId = EPbk2FieldTypeIconArrayId;
+ iconArray = r_psu_2_field_type_icon_array;
+ },
+ PHONEBOOK2_EXTENSION_ICON_ARRAY
+ {
+ // Extension icons for fetchdialog
+ parentIconArrayId = EPbk2FetchDlgCheckboxIconArrayId;
+ iconArray = r_psu_2_contact_list_icon_array;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Icon info array
+// --------------------------------------------------------------------------
+//
+RESOURCE ARRAY r_psu2_icon_info_array
+ {
+ items =
+ {
+ PBK2_ICON_INFO
+ {
+ version = 0;
+ pbk2IconInfoId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_sdn;
+ };
+ mbmFileName = psu2_mbm_file_location;
+ iconId = EMbmPsu2Qgn_prop_nrtyp_sdn;
+ maskId = EMbmPsu2Qgn_prop_nrtyp_sdn_mask;
+ skinIdMajor = EAknsMajorGeneric;
+ skinIdMinor = EAknsMinorGenericQgnPropNrtypSdn;
+ },
+ PBK2_ICON_INFO
+ {
+ version = 0;
+ pbk2IconInfoId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_menu_simin;
+ };
+ mbmFileName = psu2_mbm_file_location;
+ iconId = EMbmPsu2Qgn_menu_simin;
+ maskId = EMbmPsu2Qgn_menu_simin_mask;
+ skinIdMajor = EAknsMajorGeneric;
+ skinIdMinor = EAknsMinorGenericQgnMenuSiminCxt;
+ },
+ PBK2_ICON_INFO
+ {
+ version = 0;
+ pbk2IconInfoId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_menu_simfdn;
+ };
+ mbmFileName = psu2_mbm_file_location;
+ iconId = EMbmPsu2Qgn_menu_simfdn;
+ maskId = EMbmPsu2Qgn_menu_simfdn_mask;
+ skinIdMajor = EAknsMajorGeneric;
+ skinIdMinor = EAknsMinorGenericQgnMenuSiminCxt;
+ },
+ PBK2_ICON_INFO
+ {
+ version = 0;
+ pbk2IconInfoId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_sim_contact;
+ };
+ mbmFileName = psu2_mbm_file_location;
+ iconId = EMbmPsu2Qgn_prop_nrtyp_sim_contact;
+ maskId = EMbmPsu2Qgn_prop_nrtyp_sim_contact_mask;
+ skinIdMajor = EAknsMajorGeneric;
+ skinIdMinor = EAknsMinorGenericQgnPropNrtypSimContact;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Extension icons for contact list
+// --------------------------------------------------------------------------
+//
+RESOURCE PBK2_ICON_ARRAY r_psu_2_contact_list_icon_array
+ {
+ // Array of PBK2_ICON_ID structures.
+ arrayId = EPbk2NullIconArrayId;
+ icons =
+ {
+ PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_sdn;
+ },
+ PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_sim_contact;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Extension icons for field type icon array
+// --------------------------------------------------------------------------
+//
+RESOURCE PBK2_ICON_ARRAY r_psu_2_field_type_icon_array
+ {
+ // Array of PBK2_ICON_ID structures.
+ arrayId = EPbk2NullIconArrayId;
+ icons =
+ {
+ PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_sdn;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Store properties resources
+// --------------------------------------------------------------------------
+//
+RESOURCE PHONEBOOK2_STORE_PROPERTY_ARRAY r_psu2_store_properties
+ {
+ items =
+ {
+ PHONEBOOK2_STORE_PROPERTY
+ {
+ version = 0;
+ storeUri = KVPBK_SIM_GLOBAL_ADN_URI;
+ storeName = qtn_phob_set_memory_sim;
+ flags = KPbk2ShownInMemorySelectionList |
+ KPbk2DefaultSavingStorageItem;
+ views =
+ {
+ PHONEBOOK2_STORE_VIEW
+ {
+ version = 0;
+ viewType = EPbk2MainNamesList;
+ viewLocation = EPbk2MergedMainList;
+ viewDefinition = VPBK_CONTACT_VIEW
+ {
+ uri = KVPBK_SIM_GLOBAL_ADN_URI;
+ flags = EVPbkContactViewFlagsNone;
+ subViews = {};
+ };
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_sim_contact;
+ };
+ }
+ };
+ memoryInfoItemTypes = KPbk2StoreInfoNumberOfContacts |
+ KPbk2StoreInfoFreeLocations;
+ fieldPropertyModifications = r_psu2_field_properties_for_adn;
+ localizedResourceStrings =
+ {
+ PHONEBOOK2_LOCALIZED_TEXT
+ {
+ context = EPbk2MemInfoPhone;
+ text = qtn_phob_pb_info_memory_sim;
+ },
+ PHONEBOOK2_LOCALIZED_TEXT
+ {
+ context = EPbk2CopyQueryItem;
+ text = qtn_pbcop_copy_query_list_item_sim;
+ },
+ PHONEBOOK2_LOCALIZED_TEXT
+ {
+ context = EPbk2MemInfoContacts;
+ text = qtn_phob_pb_info_memory_sim_colon;
+ }
+ };
+ },
+ PHONEBOOK2_STORE_PROPERTY
+ {
+ version = 0;
+ storeUri = KVPBK_SIM_GLOBAL_SDN_URI;
+ storeName = qtn_phob_set_memory_sdn;
+ flags = KPbk2ShownInMemorySelectionList;
+ views =
+ {
+ PHONEBOOK2_STORE_VIEW
+ {
+ version = 0;
+ viewType = EPbk2MainNamesList;
+ viewLocation = EPbk2MergedMainList;
+ viewDefinition = VPBK_CONTACT_VIEW
+ {
+ uri = KVPBK_SIM_GLOBAL_SDN_URI;
+ flags = EVPbkContactViewFlagsNone;
+ subViews = {};
+ };
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_sdn;
+ };
+ }
+ };
+ fieldPropertyModifications = r_psu2_field_properties_for_sdn;
+ },
+ /// FDN contacts are not meant to be shown in main nameslist,
+ /// we are just getting the icon id for the FDN nameslist view.
+ PHONEBOOK2_STORE_PROPERTY
+ {
+ version = 0;
+ storeUri = KVPBK_SIM_GLOBAL_FDN_URI;
+ storeName = text_fdn_list;
+ views =
+ {
+ PHONEBOOK2_STORE_VIEW
+ {
+ version = 0;
+ viewDefinition = VPBK_CONTACT_VIEW
+ {
+ uri = KVPBK_SIM_GLOBAL_FDN_URI;
+ flags = EVPbkContactViewFlagsNone;
+ subViews = {};
+ };
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_phone;
+ };
+ }
+ };
+ fieldPropertyModifications = r_psu2_field_properties_for_fdn;
+ },
+ /// Own numbers are not meant to be shown in main nameslist,
+ /// we need the storename for Own numbers store
+ PHONEBOOK2_STORE_PROPERTY
+ {
+ version = 0;
+ storeUri = KVPBK_SIM_GLOBAL_OWN_NUMBER_URI;
+ storeName = qtn_phob_title_my_numbers;
+ views = {};
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// ADN field properties
+// --------------------------------------------------------------------------
+//
+RESOURCE PHONEBOOK2_FIELD_PROPERTY_ARRAY r_psu2_field_properties_for_adn
+ {
+ items =
+ {
+ PHONEBOOK2_FIELD_PROPERTY
+ {
+ // Change name label to qtn_simp_lbl_name
+ fieldTypeLink = R_VPBK_FIELD_TYPE_LASTNAME;
+ multiplicity = EPbk2FieldMultiplicityOne;
+ maxLength = 50;
+ editMode = EPbk2FieldEditModeAlpha;
+ defaultCase = EPbk2FieldDefaultCaseText;
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2UID3;
+ id = EPbk2qgn_prop_nrtyp_empty;
+ };
+ ctrlType = EPbk2FieldCtrlTypeTextEditor;
+ flags = KPbk2FieldFlagTemplateField | KPbk2FieldFlagUserCanAddField |
+ KPbk2FieldFlagCanNotBeRemoved;
+ location = EPbk2FieldLocationNone;
+ groupId = EPbk2FieldGroupIdLastName;
+ defaultLabel = qtn_simp_lbl_name;
+ },
+ // Last name reading
+ // Change label to qtn_simp_lbl_reading
+ PHONEBOOK2_FIELD_PROPERTY
+ {
+ fieldTypeLink = R_VPBK_FIELD_TYPE_LASTNAMEREADING;
+ multiplicity = EPbk2FieldMultiplicityOne;
+ maxLength = 50;
+ editMode = EPbk2FieldEditModeAlpha;
+ defaultCase = EPbk2FieldDefaultCaseText;
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2UID3;
+ id = EPbk2qgn_prop_nrtyp_empty;
+ };
+ ctrlType = EPbk2FieldCtrlTypeReadingEditor;
+ flags = KPbk2FieldFlagTemplateField | KPbk2FieldFlagUserCanAddField |
+ KPbk2FieldFlagCanNotBeRemoved;
+ location = EPbk2FieldLocationNone;
+ groupId = EPbk2FieldGroupIdLastName;
+ defaultLabel = qtn_simp_lbl_reading;
+ },
+ // Nick name
+ // Difference to the property in Presentation:
+ // flags, KPbk2FieldFlagTemplateField added
+ PHONEBOOK2_FIELD_PROPERTY
+ {
+ fieldTypeLink = R_VPBK_FIELD_TYPE_SECONDNAME;
+ multiplicity = EPbk2FieldMultiplicityOne;
+ maxLength = 50;
+ editMode = EPbk2FieldEditModeAlpha;
+ defaultCase = EPbk2FieldDefaultCaseText;
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2UID3;
+ id = EPbk2qgn_prop_nrtyp_empty;
+ };
+ ctrlType = EPbk2FieldCtrlTypeTextEditor;
+ flags = KPbk2FieldFlagTemplateField | KPbk2FieldFlagUserCanAddField;
+ location = EPbk2FieldLocationNone;
+ defaultLabel = qtn_simp_lbl_nick;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// SDN field properties
+// --------------------------------------------------------------------------
+//
+RESOURCE PHONEBOOK2_FIELD_PROPERTY_ARRAY r_psu2_field_properties_for_sdn
+ {
+ items =
+ {
+ // Change name label to qtn_simp_lbl_name
+ PHONEBOOK2_FIELD_PROPERTY
+ {
+ fieldTypeLink = R_VPBK_FIELD_TYPE_LASTNAME;
+ multiplicity = EPbk2FieldMultiplicityOne;
+ maxLength = 50;
+ editMode = EPbk2FieldEditModeAlpha;
+ defaultCase = EPbk2FieldDefaultCaseText;
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2UID3;
+ id = EPbk2qgn_prop_nrtyp_empty;
+ };
+ ctrlType = EPbk2FieldCtrlTypeTextEditor;
+ flags = KPbk2FieldFlagTemplateField |
+ KPbk2FieldFlagUserCanAddField;
+ location = EPbk2FieldLocationNone;
+ defaultLabel = qtn_simp_lbl_name;
+ },
+ // Differences to the property in Presentation:
+ // Icon for the number must be SDN icon
+ PHONEBOOK2_FIELD_PROPERTY
+ {
+ fieldTypeLink = R_VPBK_FIELD_TYPE_MOBILEPHONEGEN;
+ multiplicity = EPbk2FieldMultiplicityMany;
+ maxLength = 48;
+ editMode = EPbk2FieldEditModeNumeric;
+ defaultCase = EPbk2FieldDefaultCaseNone;
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2USIMExtensionImplementationUID;
+ id = EPsu2qgn_prop_nrtyp_sdn;
+ };
+ ctrlType = EPbk2FieldCtrlTypePhoneNumberEditor;
+ flags = KPbk2FieldFlagTemplateField | KPbk2FieldFlagUserCanAddField;
+ location = EPbk2FieldLocationNone;
+ defaultLabel = qtn_simp_lbl_number;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// FDN field properties
+// --------------------------------------------------------------------------
+//
+RESOURCE PHONEBOOK2_FIELD_PROPERTY_ARRAY r_psu2_field_properties_for_fdn
+ {
+ items =
+ {
+ // Change name label to qtn_simp_lbl_name
+ PHONEBOOK2_FIELD_PROPERTY
+ {
+ fieldTypeLink = R_VPBK_FIELD_TYPE_LASTNAME;
+ multiplicity = EPbk2FieldMultiplicityOne;
+ maxLength = 50;
+ editMode = EPbk2FieldEditModeAlpha;
+ defaultCase = EPbk2FieldDefaultCaseText;
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2UID3;
+ id = EPbk2qgn_prop_nrtyp_empty;
+ };
+ ctrlType = EPbk2FieldCtrlTypeTextEditor;
+ flags = KPbk2FieldFlagTemplateField |
+ KPbk2FieldFlagUserCanAddField;
+ location = EPbk2FieldLocationNone;
+ defaultLabel = qtn_simp_lbl_name;
+ },
+ // Differences to the property in Presentation:
+ // Icon for the number must be phone icon
+ PHONEBOOK2_FIELD_PROPERTY
+ {
+ fieldTypeLink = R_VPBK_FIELD_TYPE_MOBILEPHONEGEN;
+ multiplicity = EPbk2FieldMultiplicityMany;
+ maxLength = 48;
+ editMode = EPbk2FieldEditModeNumeric;
+ defaultCase = EPbk2FieldDefaultCaseNone;
+ iconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2UID3;
+ id = EPbk2qgn_prop_nrtyp_phone;
+ };
+ ctrlType = EPbk2FieldCtrlTypePhoneNumberEditor;
+ flags = KPbk2FieldFlagTemplateField |
+ KPbk2FieldFlagUserCanAddField;
+ location = EPbk2FieldLocationNone;
+ defaultLabel = qtn_simp_lbl_number;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// A text for "Checking contacts..." wait note
+// --------------------------------------------------------------------------
+//
+RESOURCE DIALOG r_qtn_fdn_reading_contacts_wait_note
+ {
+ flags = EAknWaitNoteFlags;
+ buttons = R_AVKON_SOFTKEYS_CANCEL;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = EPbk2NoteCheckingContacts;
+ control = AVKON_NOTE
+ {
+ layout = EWaitLayout;
+ animation = R_QGN_GRAF_WAIT_BAR_ANIM;
+ singular_label = qtn_fdn_reading_memory;
+ };
+ }
+ };
+ }
+
+// End of File