1 /* |
1 /* |
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
23 #include <eikon.rh> |
23 #include <eikon.rh> |
24 #include <avkon.rh> |
24 #include <avkon.rh> |
25 #include <avkon.loc> |
25 #include <avkon.loc> |
26 #include <avkon.rsg> |
26 #include <avkon.rsg> |
27 |
27 |
28 #include <accfwnotifier.loc> |
|
29 |
|
30 |
|
31 // RESOURCE DEFINITIONS |
28 // RESOURCE DEFINITIONS |
32 |
29 |
33 RESOURCE RSS_SIGNATURE { } |
30 RESOURCE RSS_SIGNATURE { } |
34 |
31 |
35 RESOURCE TBUF r_text_unsupp_accessory_connected { buf = text_unsupp_accessory_connected; } |
32 RESOURCE TBUF r_text_unsupp_accessory_connected { buf = text_unsupp_accessory_connected; } |
36 RESOURCE TBUF r_text_default_enhanc { buf = qtn_acc_default_enhanc; } |
|
37 RESOURCE TBUF r_text_headphones_mic { buf = qtn_acc_headphones_mic; } |
|
38 |
33 |
39 |
34 |
40 |
|
41 //------------------------------------------------------------------------------ |
|
42 // SELECTION_DATA structure. |
|
43 //------------------------------------------------------------------------------ |
|
44 |
|
45 STRUCT SELECTION_DATA |
|
46 { |
|
47 LONG index; //selection index |
|
48 LTEXT nameliteral; //name literal |
|
49 } |
|
50 |
|
51 //------------------------------------------------------------------------------ |
|
52 // SELECTION_LITERALS_ARRAY structure. |
|
53 //------------------------------------------------------------------------------ |
|
54 |
|
55 STRUCT SELECTION_LITERALS_ARRAY |
|
56 { |
|
57 STRUCT literals[]; |
|
58 } |
|
59 |
|
60 //------------------------------------------------------------------------------ |
|
61 // r_selection_dialog_list_query. |
|
62 //------------------------------------------------------------------------------ |
|
63 |
|
64 RESOURCE DIALOG r_selection_dialog_list_query |
|
65 { |
|
66 flags = EGeneralQueryFlags; |
|
67 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
68 items = |
|
69 { |
|
70 DLG_LINE |
|
71 { |
|
72 type = EAknCtListQueryControl; |
|
73 id = EListQueryControl; |
|
74 |
|
75 control = AVKON_LIST_QUERY_CONTROL |
|
76 { |
|
77 listtype = EAknCtSinglePopupMenuListBox; |
|
78 listbox = LISTBOX |
|
79 { |
|
80 flags = EAknListBoxMenuList; |
|
81 |
|
82 }; |
|
83 heading = qtn_acc_select_acc; |
|
84 }; |
|
85 |
|
86 } |
|
87 }; |
|
88 } |
|
89 |
|
90 //------------------------------------------------------------------------------ |
|
91 // r_accfwuinotifier_information_note |
|
92 //------------------------------------------------------------------------------ |
|
93 |
|
94 RESOURCE DIALOG r_accfwuinotifier_information_note |
|
95 { |
|
96 flags = EEikDialogFlagNoDrag | |
|
97 EEikDialogFlagNoTitleBar | |
|
98 EEikDialogFlagCbaButtons; |
|
99 |
|
100 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
101 items = |
|
102 { |
|
103 DLG_LINE |
|
104 { |
|
105 type = EAknCtNote; |
|
106 id = EGeneralNote; |
|
107 control = AVKON_NOTE |
|
108 { |
|
109 layout = EGeneralLayout; |
|
110 singular_label = " "; |
|
111 animation = R_QGN_NOTE_INFO_ANIM; |
|
112 }; |
|
113 } |
|
114 }; |
|
115 |
|
116 } |
|
117 |
|
118 //------------------------------------------------------------------------------ |
|
119 // r_selection_dialog_literals. |
|
120 //------------------------------------------------------------------------------ |
|
121 |
|
122 RESOURCE SELECTION_LITERALS_ARRAY r_selection_dialog_literals |
|
123 { |
|
124 literals = |
|
125 { |
|
126 SELECTION_DATA |
|
127 { |
|
128 index = 0x1; |
|
129 nameliteral = qtn_tty_acc_selection_dialog; |
|
130 }, |
|
131 SELECTION_DATA |
|
132 { |
|
133 index = 0x2; |
|
134 nameliteral = qtn_loopset_acc_selection_dialog; |
|
135 }, |
|
136 SELECTION_DATA |
|
137 { |
|
138 index = 0x4; |
|
139 nameliteral = qtn_headset_acc_selection_dialog; |
|
140 }, |
|
141 SELECTION_DATA |
|
142 { |
|
143 index = 0x8; |
|
144 nameliteral = qtn_headphones_acc_selection_dialog; |
|
145 }, |
|
146 SELECTION_DATA |
|
147 { |
|
148 index = 0x10; |
|
149 nameliteral = qtn_lineout_acc_selection_dialog; |
|
150 }, |
|
151 SELECTION_DATA |
|
152 { |
|
153 index = 0x20; |
|
154 nameliteral = qtn_tvout_acc_selection_dialog; |
|
155 }, |
|
156 SELECTION_DATA |
|
157 { |
|
158 index = 0x40; |
|
159 nameliteral = qtn_musicstand_acc_selection_dialog; |
|
160 } |
|
161 }; |
|
162 } |
|
163 |
|
164 // End of File |
35 // End of File |