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 editing MR from calendar |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef ESMRSRV_ORGANIZERVIEWFROMCALENDARPOLICY |
|
19 #define ESMRSRV_ORGANIZERVIEWFROMCALENDARPOLICY |
|
20 |
|
21 // --------------------------------------------------------------------------- |
|
22 // r_esmr_organizer_view_from_calendar |
|
23 // ES MR Policy for viewing MR from calendar application |
|
24 // --------------------------------------------------------------------------- |
|
25 // |
|
26 RESOURCE ESMR_POLICY r_esmr_organizer_view_from_calendar |
|
27 { |
|
28 event_type = EESMREventTypeAppt; |
|
29 policy_id = EESMRPolicyOrganizerViewMRFromCal; |
|
30 policy_mode = EESMRViewMR; |
|
31 role_flags = KEESMRFlagOrganizer; |
|
32 allowed_app = KEESMRFlagAppEsCalendar; |
|
33 field_ids = r_esmr_organizer_view_from_calendar_fields; |
|
34 default_commands = r_esmr_organizer_view_from_calendar_def_commands; |
|
35 additional_commands = 0; |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------------------------- |
|
39 // r_esmr_organizer_view_from_calendar_fields |
|
40 // |
|
41 // --------------------------------------------------------------------------- |
|
42 // |
|
43 RESOURCE ESMR_ID_TABLE r_esmr_organizer_view_from_calendar_fields |
|
44 { |
|
45 id_table = |
|
46 { |
|
47 ESMR_FIELD |
|
48 { |
|
49 field_id = EESMRFieldAttendee; |
|
50 field_type = EESMRFieldTypeAdditional; |
|
51 field_mode = EESMRFieldModeView; |
|
52 }, |
|
53 ESMR_FIELD |
|
54 { |
|
55 field_id = EESMRFieldOptAttendee; |
|
56 field_type = EESMRFieldTypeAdditional; |
|
57 field_mode = EESMRFieldModeView; |
|
58 }, |
|
59 ESMR_FIELD |
|
60 { |
|
61 field_id = EESMRFieldDetailedSubject; |
|
62 field_type = EESMRFieldTypeDefault; |
|
63 field_mode = EESMRFieldModeView; |
|
64 }, |
|
65 ESMR_FIELD |
|
66 { |
|
67 field_id = EESMRFieldMeetingTime; |
|
68 field_type = EESMRFieldTypeDefault; |
|
69 field_mode = EESMRFieldModeView; |
|
70 }, |
|
71 ESMR_FIELD |
|
72 { |
|
73 field_id = EESMRFieldStartDate; |
|
74 field_type = EESMRFieldTypeDefault; |
|
75 field_mode = EESMRFieldModeView; |
|
76 }, |
|
77 ESMR_FIELD |
|
78 { |
|
79 field_id = EESMRFieldStopDate; |
|
80 field_type = EESMRFieldTypeDefault; |
|
81 field_mode = EESMRFieldModeView; |
|
82 }, |
|
83 ESMR_FIELD |
|
84 { |
|
85 field_id = EESMRFieldLocation; |
|
86 field_type = EESMRFieldTypeDefault; |
|
87 field_mode = EESMRFieldModeView; |
|
88 }, |
|
89 ESMR_FIELD |
|
90 { |
|
91 field_id = EESMRFieldAlarm; |
|
92 field_type = EESMRFieldTypeDefault; |
|
93 field_mode = EESMRFieldModeView; |
|
94 }, |
|
95 ESMR_FIELD |
|
96 { |
|
97 field_id = EESMRFieldRecurrence; |
|
98 field_type = EESMRFieldTypeDefault; |
|
99 field_mode = EESMRFieldModeView; |
|
100 }, |
|
101 ESMR_FIELD |
|
102 { |
|
103 field_id = EESMRFieldRecurrenceDate; |
|
104 field_type = EESMRFieldTypeDefault; |
|
105 field_mode = EESMRFieldModeView; |
|
106 }, |
|
107 ESMR_FIELD |
|
108 { |
|
109 field_id = EESMRFieldSync; |
|
110 field_type = EESMRFieldTypeDefault; |
|
111 field_mode = EESMRFieldModeView; |
|
112 }, |
|
113 ESMR_FIELD |
|
114 { |
|
115 field_id = EESMRFieldDescription; |
|
116 field_type = EESMRFieldTypeDefault; |
|
117 field_mode = EESMRFieldModeView; |
|
118 } |
|
119 }; |
|
120 } |
|
121 |
|
122 // --------------------------------------------------------------------------- |
|
123 // r_esmr_organizer_view_from_calendar_def_commands |
|
124 // |
|
125 // --------------------------------------------------------------------------- |
|
126 // |
|
127 RESOURCE ESMR_ID_TABLE r_esmr_organizer_view_from_calendar_def_commands |
|
128 { |
|
129 id_table = |
|
130 { |
|
131 ESMR_ID { id = EESMRCmdEdit;}, |
|
132 ESMR_ID { id = EESMRCmdForward; }, |
|
133 ESMR_ID { id = EESMRCmdViewTrack; }, |
|
134 ESMR_ID { id = EESMRCmdDeleteMR;}, |
|
135 ESMR_ID { id = EESMRCmdPrint; }, |
|
136 ESMR_ID { id = EAknCmdHelp;}, |
|
137 ESMR_ID { id = EAknCmdExit;} |
|
138 }; |
|
139 } |
|
140 |
|
141 #endif // ESMRSRV_ORGANIZERVIEWFROMCALENDARPOLICY |
|
142 |
|
143 // EOF |
|