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: Resource definitions for project ?myapp |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME MCBC |
|
20 |
|
21 #include <eikon.rh> |
|
22 #include <eikon.rsg> |
|
23 |
|
24 #include <avkon.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <avkon.loc> |
|
27 #include <avkon.mbg> |
|
28 |
|
29 #include "rsfwmountconfbc.hrh" |
|
30 #include <rsfwmountconfbc.loc> // Localisable text |
|
31 #include <rsfwgsplugin.loc> |
|
32 |
|
33 |
|
34 RESOURCE RSS_SIGNATURE { } |
|
35 |
|
36 RESOURCE TBUF { buf = ""; } |
|
37 |
|
38 RESOURCE EIK_APP_INFO |
|
39 { |
|
40 status_pane = R_AVKON_STATUS_PANE_LAYOUT_USUAL; |
|
41 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
42 } |
|
43 |
|
44 RESOURCE TBUF r_sm_save |
|
45 { |
|
46 buf = qtn_rd_msg_option_save_drive; |
|
47 } |
|
48 |
|
49 |
|
50 RESOURCE TBUF r_sm_success_mount |
|
51 { |
|
52 buf = qtn_rd_msg_note_drive_saved; |
|
53 } |
|
54 |
|
55 RESOURCE TBUF r_sm_default_drive_name |
|
56 { |
|
57 buf = qtn_rd_msg_query_default_name; |
|
58 } |
|
59 RESOURCE TBUF r_sm_too_many_remote_drives |
|
60 { |
|
61 buf = qtn_rd_error_max_drives; |
|
62 } |
|
63 |
|
64 RESOURCE DIALOG r_name_query |
|
65 { |
|
66 flags = EEikDialogFlagWait | EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons | EEikDialogFlagNoShadow; |
|
67 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
68 items = |
|
69 { |
|
70 DLG_LINE |
|
71 { |
|
72 type = EAknCtQuery; |
|
73 id = EGeneralQuery; |
|
74 control = AVKON_DATA_QUERY |
|
75 { |
|
76 layout = EDataLayout; |
|
77 label = "Enter name"; |
|
78 control = EDWIN |
|
79 { |
|
80 flags = EEikEdwinNoHorizScrolling; |
|
81 avkon_flags = EAknEditorFlagNoT9; |
|
82 maxlength = MAXCONFITEMLENGTH; |
|
83 width = 16; |
|
84 lines = 3; |
|
85 }; |
|
86 }; |
|
87 } |
|
88 }; |
|
89 } |
|
90 |
|
91 RESOURCE DIALOG r_confirmation_query |
|
92 { |
|
93 flags = EGeneralQueryFlags; |
|
94 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
95 items= |
|
96 { |
|
97 DLG_LINE |
|
98 { |
|
99 type = EAknCtQuery; |
|
100 id = EGeneralQuery; |
|
101 control = AVKON_CONFIRMATION_QUERY |
|
102 { |
|
103 layout =EConfirmationQueryLayout; |
|
104 }; |
|
105 } |
|
106 }; |
|
107 } |
|
108 RESOURCE DIALOG r_file_name_query |
|
109 { |
|
110 flags = EGeneralQueryFlags; |
|
111 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
112 items = |
|
113 { |
|
114 DLG_LINE |
|
115 { |
|
116 type = EAknCtQuery; |
|
117 id = EGeneralQuery; |
|
118 control = AVKON_DATA_QUERY |
|
119 { |
|
120 layout = EDataLayout; |
|
121 label = qtn_fldr_item_name_prmpt; |
|
122 control = EDWIN |
|
123 { |
|
124 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
125 lines = 1; |
|
126 maxlength = 256; |
|
127 }; |
|
128 }; |
|
129 } |
|
130 }; |
|
131 } |
|
132 |
|
133 |
|
134 RESOURCE TBUF r_sm_title_mount_conf |
|
135 { |
|
136 buf = qtn_rd_msg_title_remote_drive; |
|
137 } |
|
138 //---------------------------------------------------- |
|
139 // |
|
140 // string resouces |
|
141 // the strings can be localized in loc file |
|
142 // |
|
143 //---------------------------------------------------- |
|
144 // |
|
145 RESOURCE TBUF r_str_setting_item_drive_name { buf = qtn_rd_msg_label_drive_name; } |
|
146 RESOURCE TBUF r_str_name_rename_query { buf = qtn_fldr_rename_query; } |
|
147 RESOURCE TBUF r_str_new_name_prompt { buf = qtn_fldr_item_name_prmpt; } |
|
148 RESOURCE TBUF r_str_saving_wait_note { buf = qtn_rd_msg_note_saving_drive; } |
|