|
1 /* |
|
2 * Copyright (c) 2002-2005 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 // RESOURCE IDENTIFIER |
|
26 NAME TMPL |
|
27 |
|
28 // INCLUDES |
|
29 #include <eikon.rh> |
|
30 #include <avkon.rh> |
|
31 #include <avkon.rsg> |
|
32 |
|
33 #include "sennotplugindlgimpl.hrh" |
|
34 #include <sennotplugindlgimpl.loc> |
|
35 //#if (defined LANGUAGE_SC) // default (U.K. English) |
|
36 // #include "SenNotPluginDlgImpl.loc" |
|
37 //#endif |
|
38 |
|
39 // RESOURCE DEFINITIONS |
|
40 // --------------------------------------------------------- |
|
41 // |
|
42 // Define the resource file signature |
|
43 // This resource should be empty. |
|
44 // |
|
45 // --------------------------------------------------------- |
|
46 // |
|
47 RESOURCE RSS_SIGNATURE |
|
48 { |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------- |
|
52 // |
|
53 // Default Document Name |
|
54 // |
|
55 // --------------------------------------------------------- |
|
56 // |
|
57 RESOURCE TBUF |
|
58 { |
|
59 buf=""; |
|
60 } |
|
61 |
|
62 //---------------------------------------------------- |
|
63 // r_common_yes_no_query |
|
64 // |
|
65 // This is used to show user simple yes/no query. |
|
66 // This resource is used by CAknQueryDialog. |
|
67 // |
|
68 //---------------------------------------------------- |
|
69 // |
|
70 RESOURCE DIALOG r_common_yes_no_query |
|
71 { |
|
72 flags = EGeneralQueryFlags; |
|
73 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; // EAknSoftkeyOk & EAknSoftkeyCancel |
|
74 items = |
|
75 { |
|
76 DLG_LINE |
|
77 { |
|
78 type = EAknCtQuery; |
|
79 id = EGeneralQuery; |
|
80 control = AVKON_CONFIRMATION_QUERY |
|
81 { |
|
82 layout = EConfirmationQueryLayout; |
|
83 }; |
|
84 } |
|
85 }; |
|
86 } |
|
87 |
|
88 //---------------------------------------------------- |
|
89 // r_custom_usernamepasswd_dialog |
|
90 // |
|
91 // This is used to show user custom authentication |
|
92 // dialog. |
|
93 // |
|
94 //---------------------------------------------------- |
|
95 // |
|
96 RESOURCE DIALOG r_custom_usernamepasswd_dialog |
|
97 { |
|
98 flags = EGeneralQueryFlags; |
|
99 buttons=R_AVKON_SOFTKEYS_OK_CANCEL; |
|
100 items = { |
|
101 DLG_LINE { |
|
102 type = EAknCtMultilineQuery; |
|
103 id = EMultilineFirstLine; |
|
104 control = AVERELL_DATA_QUERY { |
|
105 layout = EMultiDataFirstEdwin; |
|
106 label = qtn_sen_notdlg_auth_username; |
|
107 control = EDWIN { |
|
108 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
109 width = 25; |
|
110 maxlength = 32;//KSenMaxUsernameLength |
|
111 }; |
|
112 }; |
|
113 }, |
|
114 DLG_LINE { |
|
115 type = EAknCtMultilineQuery; |
|
116 id = EMultilineSecondLine; |
|
117 control = AVERELL_DATA_QUERY { |
|
118 layout = EMultiDataSecondSecEd; |
|
119 label = qtn_sen_notdlg_auth_password; |
|
120 control = SECRETED { |
|
121 num_letters = 16;//KSenMaxPasswordLength |
|
122 }; |
|
123 }; |
|
124 } |
|
125 }; |
|
126 } |
|
127 |
|
128 //---------------------------------------------------- |
|
129 // STRING RESOURCES |
|
130 // |
|
131 // This is used to show user custom authentication |
|
132 // dialog. |
|
133 //---------------------------------------------------- |
|
134 // |
|
135 RESOURCE TBUF r_sennotdlg_auth_title { buf = qtn_sen_notdlg_auth_title; } |
|
136 RESOURCE TBUF r_sennotdlg_auth_username { buf = qtn_sen_notdlg_auth_username; } |
|
137 RESOURCE TBUF r_sennotdlg_auth_password { buf = qtn_sen_notdlg_auth_password; } |
|
138 RESOURCE TBUF r_sennotdlg_ask_save_query { buf = qtn_sen_notdlg_ask_save; } |
|
139 RESOURCE TBUF r_sennotdlg_allow_register_query { buf = qtn_sen_notdlg_allow_register; } |
|
140 RESOURCE TBUF r_sennotdlg_allow_unregister_query { buf = qtn_sen_notdlg_allow_unregister; } |
|
141 |
|
142 // End of File |