|
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 tracking MR from calendar |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef ESMRSRV_TRACKINGVIEWPOLICY_FROM_CALENDAR |
|
21 #define ESMRSRV_TRACKINGVIEWPOLICY_FROM_CALENDAR |
|
22 |
|
23 // --------------------------------------------------------------------------- |
|
24 // r_esmr_tracking_view_from_calendar |
|
25 // ES Tracking view for MR from calendar application |
|
26 // --------------------------------------------------------------------------- |
|
27 // |
|
28 |
|
29 RESOURCE ESMR_POLICY r_esmr_tracking_view |
|
30 { |
|
31 event_type = EESMREventTypeAppt; |
|
32 policy_id = EESMRPolicyTrackingView; |
|
33 policy_mode = EESMRTrackingViewMR; |
|
34 role_flags = KEESMRFlagOrganizer; |
|
35 allowed_app = KEESMRFlagAppEsCalendar; |
|
36 field_ids = r_esmr_tracking_view_fields; |
|
37 default_commands = r_mrui_tracking_view_def_commands; |
|
38 additional_commands = 0; |
|
39 } |
|
40 |
|
41 |
|
42 |
|
43 // --------------------------------------------------------------------------- |
|
44 // r_esmr_tracking_view_fields |
|
45 // Default field set for tracking view |
|
46 // --------------------------------------------------------------------------- |
|
47 // |
|
48 RESOURCE ESMR_ID_TABLE r_esmr_tracking_view_fields |
|
49 { |
|
50 id_table = |
|
51 { |
|
52 ESMR_FIELD |
|
53 { |
|
54 field_id = EESMRFieldReqTrack; |
|
55 field_type = EESMRFieldTypeAdditional; |
|
56 field_mode = EESMRFieldModeView; |
|
57 }, |
|
58 ESMR_FIELD |
|
59 { |
|
60 field_id = EESMRTrackStatus; |
|
61 field_type = EESMRFieldTypeAdditional; |
|
62 field_mode = EESMRFieldModeView; |
|
63 }, |
|
64 ESMR_FIELD |
|
65 { |
|
66 field_id = EESMRFieldOptTrack; |
|
67 field_type = EESMRFieldTypeAdditional; |
|
68 field_mode = EESMRFieldModeView; |
|
69 } |
|
70 // Add other fields here |
|
71 }; |
|
72 } |
|
73 |
|
74 // --------------------------------------------------------------------------- |
|
75 // r_mrui_tracking_view_def_commands |
|
76 // Default options menu items |
|
77 // --------------------------------------------------------------------------- |
|
78 // |
|
79 RESOURCE ESMR_ID_TABLE r_mrui_tracking_view_def_commands |
|
80 { |
|
81 id_table = |
|
82 { |
|
83 ESMR_ID { id = EAknCmdHelp; }, |
|
84 ESMR_ID { id = EAknCmdExit; } |
|
85 }; |
|
86 } |
|
87 |
|
88 #endif // ESMRSRV_TRACKINGVIEWPOLICY_FROM_CALENDAR |
|
89 |
|
90 // EOF |