meetingrequest/mrpolicy/data/policies/esmrsrattendeeviewfromcalendarpolicy.rss
changeset 0 8466d47a6819
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/meetingrequest/mrpolicy/data/policies/esmrsrattendeeviewfromcalendarpolicy.rss	Thu Dec 17 08:39:21 2009 +0200
@@ -0,0 +1,173 @@
+/*
+* Copyright (c)  Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Resource definitions for viewing MR from mail policy
+*
+*/
+
+#ifndef ESMRSRV_ATTENDEEVIEWFROMCALENDARPOLICY
+#define ESMRSRV_ATTENDEEVIEWFROMCALENDARPOLICY
+
+// ---------------------------------------------------------------------------
+// r_esmr_attd_view_from_calendar
+// ES MR Policy forviewing MR from Calendar application
+// ---------------------------------------------------------------------------
+//
+RESOURCE ESMR_POLICY r_esmr_attd_view_from_calendar
+    {
+    event_type           = EESMREventTypeAppt;
+    policy_id            = EESMRPolicyAttendeeViewMRFromCal;
+    policy_mode          = EESMRViewMR;
+    role_flags           = KEESMRFlagRequiredAttendee |
+                           KEESMRFlagOptionalAttendee |
+                           KEESMRFlagNonParticipant;
+    allowed_app          = KEESMRFlagAppEsCalendar;
+    field_ids            = r_esmr_attd_view_from_calendar_fields;
+    default_commands     = r_esmr_attd_view_from_calendar_def_commands;
+    additional_commands  = 0; // No additional commands
+    }
+
+// ---------------------------------------------------------------------------
+// r_esmr_attd_view_from_calendar_fields
+//
+// ---------------------------------------------------------------------------
+//
+RESOURCE ESMR_ID_TABLE r_esmr_attd_view_from_calendar_fields
+    {
+    id_table =
+        {
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldResponseReadyArea;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldResponseArea;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldOrganizer;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldAttendee;
+            field_type = EESMRFieldTypeAdditional;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldOptAttendee;
+            field_type = EESMRFieldTypeAdditional;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldDetailedSubject;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldAttachments;
+            field_type = EESMRFieldTypeAdditional;
+            field_mode = EESMRFieldModeView;
+            },            
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldMeetingTime;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldStartDate;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldStopDate;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldLocation;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldAlarm;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldRecurrence;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldRecurrenceDate;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldSync;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            },
+        ESMR_FIELD
+            {
+            field_id   = EESMRFieldDescription;
+            field_type = EESMRFieldTypeDefault;
+            field_mode = EESMRFieldModeView;
+            }
+        };
+    }
+
+// ---------------------------------------------------------------------------
+// r_esmr_attd_view_from_calendar_def_commands
+//
+// ---------------------------------------------------------------------------
+//
+RESOURCE ESMR_ID_TABLE r_esmr_attd_view_from_calendar_def_commands
+    {
+    id_table =
+        {
+        ESMR_ID { id = EESMRCmdAcceptMR; },
+        ESMR_ID { id = EESMRCmdTentativeMR; },
+        ESMR_ID { id = EESMRCmdDeclineMR; },
+        ESMR_ID { id = EESMRCmdEditLocal; },
+        ESMR_ID { id = EESMRCmdReply; },
+        ESMR_ID { id = EESMRCmdReplyAll; },
+        ESMR_ID { id = EESMRCmdForward; },
+        ESMR_ID { id = EESMRCmdDeleteMR; },
+        ESMR_ID { id = EESMRCmdPrint; },
+        ESMR_ID { id = EAknCmdHelp; },
+        ESMR_ID { id = EAknCmdExit; }
+        };
+    }
+
+#endif // ESMRSRV_ATTENDEEVIEWFROMCALENDARPOLICY
+
+// EOF