|
1 /* |
|
2 * Copyright (c) 2007-2009 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_ATTENDEEVIEWALLDAYEVENTFROMCALENDARPOLICY |
|
19 #define ESMRSRV_ATTENDEEVIEWALLDAYEVENTFROMCALENDARPOLICY |
|
20 |
|
21 // --------------------------------------------------------------------------- |
|
22 // r_esmr_attd_view_allday_event_from_calendar |
|
23 // ES MR Policy forviewing MR from Calendar application |
|
24 // --------------------------------------------------------------------------- |
|
25 // |
|
26 RESOURCE ESMR_POLICY r_esmr_attd_view_allday_event_from_calendar |
|
27 { |
|
28 event_type = EESMREventTypeAppt; |
|
29 policy_id = EESMRPolicyAttendeeViewAllDayEventMRFromCal; |
|
30 policy_mode = EESMRViewAllDayMR; |
|
31 role_flags = KEESMRFlagRequiredAttendee | |
|
32 KEESMRFlagOptionalAttendee | |
|
33 KEESMRFlagNonParticipant; |
|
34 allowed_app = KEESMRFlagAppEsCalendar; |
|
35 field_ids = r_esmr_attd_view_allday_event_from_calendar_fields; |
|
36 default_commands = r_esmr_attd_view_allday_event_from_calendar_def_commands; |
|
37 additional_commands = 0; // No additional commands |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // r_esmr_attd_view_allday_event_from_calendar_fields |
|
42 // |
|
43 // --------------------------------------------------------------------------- |
|
44 // |
|
45 RESOURCE ESMR_ID_TABLE r_esmr_attd_view_allday_event_from_calendar_fields |
|
46 { |
|
47 id_table = |
|
48 { |
|
49 ESMR_FIELD |
|
50 { |
|
51 field_id = EESMRFieldResponseReadyArea; |
|
52 field_type = EESMRFieldTypeDefault; |
|
53 field_mode = EESMRFieldModeView; |
|
54 }, |
|
55 ESMR_FIELD |
|
56 { |
|
57 field_id = EESMRFieldResponseArea; |
|
58 field_type = EESMRFieldTypeDefault; |
|
59 field_mode = EESMRFieldModeView; |
|
60 }, |
|
61 ESMR_FIELD |
|
62 { |
|
63 field_id = EESMRFieldOrganizer; |
|
64 field_type = EESMRFieldTypeDefault; |
|
65 field_mode = EESMRFieldModeView; |
|
66 }, |
|
67 ESMR_FIELD |
|
68 { |
|
69 field_id = EESMRFieldAttendee; |
|
70 field_type = EESMRFieldTypeAdditional; |
|
71 field_mode = EESMRFieldModeView; |
|
72 }, |
|
73 ESMR_FIELD |
|
74 { |
|
75 field_id = EESMRFieldOptAttendee; |
|
76 field_type = EESMRFieldTypeAdditional; |
|
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 = EESMRFieldStartDate; |
|
88 field_type = EESMRFieldTypeDefault; |
|
89 field_mode = EESMRFieldModeView; |
|
90 }, |
|
91 ESMR_FIELD |
|
92 { |
|
93 field_id = EESMRFieldStopDate; |
|
94 field_type = EESMRFieldTypeDefault; |
|
95 field_mode = EESMRFieldModeView; |
|
96 }, |
|
97 ESMR_FIELD |
|
98 { |
|
99 field_id = EESMRFieldAllDayEvent; |
|
100 field_type = EESMRFieldTypeDefault; |
|
101 field_mode = EESMRFieldModeView; |
|
102 }, |
|
103 ESMR_FIELD |
|
104 { |
|
105 field_id = EESMRFieldAlarmDate; |
|
106 field_type = EESMRFieldTypeDefault; |
|
107 field_mode = EESMRFieldModeView; |
|
108 }, |
|
109 ESMR_FIELD |
|
110 { |
|
111 field_id = EESMRFieldAlarmTime; |
|
112 field_type = EESMRFieldTypeDefault; |
|
113 field_mode = EESMRFieldModeView; |
|
114 }, |
|
115 ESMR_FIELD |
|
116 { |
|
117 field_id = EESMRFieldLocation; |
|
118 field_type = EESMRFieldTypeDefault; |
|
119 field_mode = EESMRFieldModeView; |
|
120 }, |
|
121 ESMR_FIELD |
|
122 { |
|
123 field_id = EESMRFieldRecurrence; |
|
124 field_type = EESMRFieldTypeDefault; |
|
125 field_mode = EESMRFieldModeView; |
|
126 }, |
|
127 ESMR_FIELD |
|
128 { |
|
129 field_id = EESMRFieldRecurrenceDate; |
|
130 field_type = EESMRFieldTypeDefault; |
|
131 field_mode = EESMRFieldModeView; |
|
132 }, |
|
133 ESMR_FIELD |
|
134 { |
|
135 field_id = EESMRFieldAttachments; |
|
136 field_type = EESMRFieldTypeAdditional; |
|
137 field_mode = EESMRFieldModeView; |
|
138 }, |
|
139 ESMR_FIELD |
|
140 { |
|
141 field_id = EESMRFieldSync; |
|
142 field_type = EESMRFieldTypeDefault; |
|
143 field_mode = EESMRFieldModeView; |
|
144 }, |
|
145 ESMR_FIELD |
|
146 { |
|
147 field_id = EESMRFieldDescription; |
|
148 field_type = EESMRFieldTypeDefault; |
|
149 field_mode = EESMRFieldModeView; |
|
150 } |
|
151 }; |
|
152 } |
|
153 |
|
154 // --------------------------------------------------------------------------- |
|
155 // r_esmr_attd_view_allday_event_from_calendar_def_commands |
|
156 // |
|
157 // --------------------------------------------------------------------------- |
|
158 // |
|
159 RESOURCE ESMR_ID_TABLE r_esmr_attd_view_allday_event_from_calendar_def_commands |
|
160 { |
|
161 id_table = |
|
162 { |
|
163 ESMR_ID { id = EESMRCmdAcceptMR; }, |
|
164 ESMR_ID { id = EESMRCmdTentativeMR; }, |
|
165 ESMR_ID { id = EESMRCmdDeclineMR; }, |
|
166 ESMR_ID { id = EESMRCmdEditLocal; }, |
|
167 ESMR_ID { id = EESMRCmdReply; }, |
|
168 ESMR_ID { id = EESMRCmdReplyAll; }, |
|
169 ESMR_ID { id = EESMRCmdForward; }, |
|
170 ESMR_ID { id = EESMRCmdDeleteMR; }, |
|
171 ESMR_ID { id = EESMRCmdPrint; }, |
|
172 ESMR_ID { id = EAknCmdHelp; }, |
|
173 ESMR_ID { id = EAknCmdExit; } |
|
174 }; |
|
175 } |
|
176 |
|
177 #endif // ESMRSRV_ATTENDEEVIEWALLDAYEVENTFROMCALENDARPOLICY |
|
178 |
|
179 // EOF |