|
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: Phonebook 2 own number view definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // -------------------------------------------------------------------------- |
|
20 // Own number view |
|
21 // -------------------------------------------------------------------------- |
|
22 // |
|
23 RESOURCE VPBK_CONTACT_VIEW r_psu2_own_number_contacts_view |
|
24 { |
|
25 uri = KVPBK_SIM_GLOBAL_OWN_NUMBER_URI; |
|
26 flags = EVPbkContactViewFlagsNone; |
|
27 subViews = {}; |
|
28 } |
|
29 |
|
30 // -------------------------------------------------------------------------- |
|
31 // Avkon view definition |
|
32 // -------------------------------------------------------------------------- |
|
33 // |
|
34 RESOURCE AVKON_VIEW r_psu2_own_number_appview |
|
35 { |
|
36 menubar = r_psu2_own_number_menubar; |
|
37 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
38 } |
|
39 |
|
40 // -------------------------------------------------------------------------- |
|
41 // Menu bar |
|
42 // -------------------------------------------------------------------------- |
|
43 // |
|
44 RESOURCE MENU_BAR r_psu2_own_number_menubar |
|
45 { |
|
46 titles = |
|
47 { |
|
48 MENU_TITLE |
|
49 { |
|
50 menu_pane = R_PHONEBOOK2_SYSTEM_MENU; |
|
51 } |
|
52 }; |
|
53 } |
|
54 |
|
55 // -------------------------------------------------------------------------- |
|
56 // Names list control |
|
57 // -------------------------------------------------------------------------- |
|
58 // |
|
59 RESOURCE PBK2_CONTACT_CONTROL r_psu2_own_number_name_list_control |
|
60 { |
|
61 // Flags |
|
62 flags = KPbk2ContactViewListControlUpdateContextPane; |
|
63 // Listbox resource |
|
64 listbox = LISTBOX |
|
65 { |
|
66 flags = EAknListBoxLoopScrolling; |
|
67 }; |
|
68 // Optional link to an icon array resource, see PBK2_ICON_ARRAY |
|
69 iconArray = R_PBK2_FIELDTYPE_ICONS; |
|
70 // Empty icon id in iconArray(s) |
|
71 emptyIconId = PHONEBOOK2_ICON_ID |
|
72 { |
|
73 ownerUid = KPbk2UID3; |
|
74 id = EPbk2qgn_prop_nrtyp_empty; |
|
75 }; |
|
76 // Optional default icon to use for all list rows |
|
77 defaultIconId = PHONEBOOK2_ICON_ID |
|
78 { |
|
79 ownerUid = KPbk2UID3; |
|
80 id = EPbk2qgn_prop_nrtyp_phone; |
|
81 }; |
|
82 } |
|
83 |
|
84 // -------------------------------------------------------------------------- |
|
85 // Tabs |
|
86 // -------------------------------------------------------------------------- |
|
87 // |
|
88 RESOURCE PBK2_VIEW_NODE_TAB_ARRAY r_psu2_own_number_view_tabs |
|
89 { |
|
90 items = |
|
91 { |
|
92 PBK2_VIEW_NODE_TAB |
|
93 { |
|
94 version = 0; |
|
95 tabsInGroup = 1; |
|
96 tab = r_psu2_own_number_view_tab1; |
|
97 } |
|
98 }; |
|
99 } |
|
100 |
|
101 // -------------------------------------------------------------------------- |
|
102 // Tab |
|
103 // -------------------------------------------------------------------------- |
|
104 // |
|
105 RESOURCE TAB r_psu2_own_number_view_tab1 |
|
106 { |
|
107 id = EPsu2OwnNumberViewId; |
|
108 } |
|
109 |
|
110 // -------------------------------------------------------------------------- |
|
111 // Icons |
|
112 // -------------------------------------------------------------------------- |
|
113 // |
|
114 RESOURCE ARRAY r_psu2_own_number_icon_info_array |
|
115 { |
|
116 items = |
|
117 { |
|
118 PBK2_ICON_INFO |
|
119 { |
|
120 version = 0; |
|
121 pbk2IconInfoId = PHONEBOOK2_ICON_ID |
|
122 { |
|
123 ownerUid = KPbk2USIMExtensionImplementationUID; |
|
124 id = EPsu2qgn_prop_nrtyp_phone; |
|
125 }; |
|
126 mbmFileName = AVKON_ICON_FILE; |
|
127 iconId = qgn_prop_nrtyp_phone; |
|
128 maskId = qgn_prop_nrtyp_phone_mask; |
|
129 skinIdMajor = EAknsMajorAvkon; |
|
130 skinIdMinor = EAknsMinorQgnPropNrtypPhone; |
|
131 } |
|
132 }; |
|
133 } |
|
134 |
|
135 // End of File |