|
1 /* |
|
2 * Copyright (c) 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 viewing MR from mail policy |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef ESMRSRV_ATTENDEEVIEWFROMMAILPOLICY |
|
19 #define ESMRSRV_ATTENDEEVIEWFROMMAILPOLICY |
|
20 |
|
21 // --------------------------------------------------------------------------- |
|
22 // r_esmr_attd_view_from_mail |
|
23 // ES MR Policy forviewing MR from Email application |
|
24 // --------------------------------------------------------------------------- |
|
25 // |
|
26 RESOURCE ESMR_POLICY r_esmr_attd_view_from_mail |
|
27 { |
|
28 event_type = EESMREventTypeAppt; |
|
29 policy_id = EESMRPolicyReceiveMRFromEmail; |
|
30 policy_mode = EESMRViewMR; |
|
31 role_flags = KEESMRFlagRequiredAttendee | |
|
32 KEESMRFlagOptionalAttendee | |
|
33 KEESMRFlagNonParticipant; |
|
34 allowed_app = KEESMRFlagAppEsEmail; |
|
35 field_ids = r_esmr_attd_view_mail_fields; |
|
36 default_commands = r_esmr_attd_view_from_mail_def_commands; |
|
37 additional_commands = 0; // No additional commands |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // r_esmr_attd_view_mail_fields |
|
42 // |
|
43 // --------------------------------------------------------------------------- |
|
44 // |
|
45 RESOURCE ESMR_ID_TABLE r_esmr_attd_view_mail_fields |
|
46 { |
|
47 id_table = |
|
48 { |
|
49 ESMR_FIELD |
|
50 { |
|
51 field_id = EESMRFieldOrganizer; |
|
52 field_type = EESMRFieldTypeDefault; |
|
53 field_mode = EESMRFieldModeView; |
|
54 }, |
|
55 ESMR_FIELD |
|
56 { |
|
57 field_id = EESMRFieldAttendee; |
|
58 field_type = EESMRFieldTypeAdditional; |
|
59 field_mode = EESMRFieldModeView; |
|
60 }, |
|
61 ESMR_FIELD |
|
62 { |
|
63 field_id = EESMRFieldOptAttendee; |
|
64 field_type = EESMRFieldTypeAdditional; |
|
65 field_mode = EESMRFieldModeView; |
|
66 }, |
|
67 ESMR_FIELD |
|
68 { |
|
69 field_id = EESMRFieldResponseArea; |
|
70 field_type = EESMRFieldTypeDefault; |
|
71 field_mode = EESMRFieldModeView; |
|
72 }, |
|
73 ESMR_FIELD |
|
74 { |
|
75 field_id = EESMRFieldCalendarName; |
|
76 field_type = EESMRFieldTypeDefault; |
|
77 field_mode = EESMRFieldModeView; |
|
78 }, |
|
79 ESMR_FIELD |
|
80 { |
|
81 field_id = EESMRFieldDetailedSubject; |
|
82 field_type = EESMRFieldTypeDefault; |
|
83 field_mode = EESMRFieldModeView; |
|
84 }, |
|
85 ESMR_FIELD |
|
86 { |
|
87 field_id = EESMRFieldMeetingTime; |
|
88 field_type = EESMRFieldTypeDefault; |
|
89 field_mode = EESMRFieldModeView; |
|
90 }, |
|
91 ESMR_FIELD |
|
92 { |
|
93 field_id = EESMRFieldStartDate; |
|
94 field_type = EESMRFieldTypeDefault; |
|
95 field_mode = EESMRFieldModeView; |
|
96 }, |
|
97 ESMR_FIELD |
|
98 { |
|
99 field_id = EESMRFieldStopDate; |
|
100 field_type = EESMRFieldTypeDefault; |
|
101 field_mode = EESMRFieldModeView; |
|
102 }, |
|
103 ESMR_FIELD |
|
104 { |
|
105 field_id = EESMRFieldLocation; |
|
106 field_type = EESMRFieldTypeDefault; |
|
107 field_mode = EESMRFieldModeView; |
|
108 }, |
|
109 ESMR_FIELD |
|
110 { |
|
111 field_id = EESMRFieldAlarm; |
|
112 field_type = EESMRFieldTypeDefault; |
|
113 field_mode = EESMRFieldModeView; |
|
114 }, |
|
115 ESMR_FIELD |
|
116 { |
|
117 field_id = EESMRFieldRecurrence; |
|
118 field_type = EESMRFieldTypeDefault; |
|
119 field_mode = EESMRFieldModeView; |
|
120 }, |
|
121 ESMR_FIELD |
|
122 { |
|
123 field_id = EESMRFieldRecurrenceDate; |
|
124 field_type = EESMRFieldTypeDefault; |
|
125 field_mode = EESMRFieldModeView; |
|
126 }, |
|
127 ESMR_FIELD |
|
128 { |
|
129 field_id = EESMRFieldSync; |
|
130 field_type = EESMRFieldTypeDefault; |
|
131 field_mode = EESMRFieldModeView; |
|
132 }, |
|
133 ESMR_FIELD |
|
134 { |
|
135 field_id = EESMRFieldViewerAttachments; |
|
136 field_type = EESMRFieldTypeDefault; |
|
137 field_mode = EESMRFieldModeView; |
|
138 }, |
|
139 ESMR_FIELD |
|
140 { |
|
141 field_id = EESMRFieldDescription; |
|
142 field_type = EESMRFieldTypeDefault; |
|
143 field_mode = EESMRFieldModeView; |
|
144 } |
|
145 }; |
|
146 } |
|
147 |
|
148 // --------------------------------------------------------------------------- |
|
149 // r_esmr_attd_view_from_mail_def_commands |
|
150 // |
|
151 // --------------------------------------------------------------------------- |
|
152 // |
|
153 RESOURCE ESMR_ID_TABLE r_esmr_attd_view_from_mail_def_commands |
|
154 { |
|
155 id_table = |
|
156 { |
|
157 ESMR_ID { id = EESMRCmdAcceptMR; }, |
|
158 ESMR_ID { id = EESMRCmdTentativeMR; }, |
|
159 ESMR_ID { id = EESMRCmdDeclineMR; }, |
|
160 ESMR_ID { id = EESMRCmdRemoveFromCalendar; }, |
|
161 ESMR_ID { id = EESMRCmdViewCalendar; }, |
|
162 ESMR_ID { id = EESMRCmdForwardOptions; }, |
|
163 ESMR_ID { id = EESMRCmdForwardAsMeeting; }, |
|
164 ESMR_ID { id = EESMRCmdReply; }, |
|
165 ESMR_ID { id = EESMRCmdReplyAll; }, |
|
166 ESMR_ID { id = EESMRCmdMailMarkUnread; }, |
|
167 ESMR_ID { id = EESMRCmdMailDelete; }, |
|
168 ESMR_ID { id = EESMRCmdClipboardCopy; }, |
|
169 ESMR_ID { id = EESMRCmdMailForwardAsMessage; }, |
|
170 ESMR_ID { id = EESMRCmdMailMoveMessage; }, |
|
171 ESMR_ID { id = EESMRCmdMailCopyMessage; }, |
|
172 ESMR_ID { id = EESMRCmdMailMessageDetails; }, |
|
173 ESMR_ID { id = EESMRCmdDownloadManager; }, |
|
174 ESMR_ID { id = EESMRCmdMailPreviousMessage; }, |
|
175 ESMR_ID { id = EESMRCmdMailNextMessage; }, |
|
176 ESMR_ID { id = EAknCmdHelp; }, |
|
177 ESMR_ID { id = EAknCmdExit; } |
|
178 }; |
|
179 } |
|
180 |
|
181 #endif // ESMRSRV_ATTENDEEVIEWFROMMAILPOLICY |
|
182 |
|
183 // EOF |