--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/meetingrequest/mrpolicy/data/policies/esmrsrattendeeeditmrfromcalendar.rss Thu Dec 17 08:39:21 2009 +0200
@@ -0,0 +1,172 @@
+/*
+* Copyright (c) 2007-2009 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 editing MR from calendar
+*
+*/
+
+#ifndef ESMRSRV_ATTENDEEEDITFROMCALENDARPOLICY
+#define ESMRSRV_ATTENDEEEDITFROMCALENDARPOLICY
+
+// ---------------------------------------------------------------------------
+// r_esmr_attendee_edit_from_calendar
+// ES MR Policy for editing MR from calendar application
+// ---------------------------------------------------------------------------
+//
+RESOURCE ESMR_POLICY r_esmr_attendee_edit_from_calendar
+ {
+ event_type = EESMREventTypeAppt;
+ policy_id = EESMRPolicyAttendeeEditMRFromCal;
+ policy_mode = EESMREditMR;
+ role_flags = KEESMRFlagRequiredAttendee |
+ KEESMRFlagOptionalAttendee |
+ KEESMRFlagNonParticipant ;
+ allowed_app = KEESMRFlagAppEsCalendar;
+ field_ids = r_esmr_attendee_edit_from_calendar_fields;
+ default_commands = r_esmr_attendee_edit_from_calendar_def_commands;
+ additional_commands = 0;
+ }
+
+// ---------------------------------------------------------------------------
+// r_esmr_attendee_edit_from_calendar_def_fields
+//
+// ---------------------------------------------------------------------------
+//
+RESOURCE ESMR_ID_TABLE r_esmr_attendee_edit_from_calendar_fields
+ {
+ id_table =
+ {
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldAttendee;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldOptAttendee;
+ field_type = EESMRFieldTypeAdditional;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldSubject;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldMeetingTime;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldStartDate;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldStopDate;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldAllDayEvent;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldAlarmOnOff;
+ field_type = EESMRFieldTypeAdditional;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldAlarmTime;
+ field_type = EESMRFieldTypeAdditional;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldAlarmDate;
+ field_type = EESMRFieldTypeAdditional;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldLocation;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldAlarm;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldRecurrence;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldRecurrenceDate;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldSync;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ },
+ ESMR_FIELD
+ {
+ field_id = EESMRFieldDescription;
+ field_type = EESMRFieldTypeDefault;
+ field_mode = EESMRFieldModeEdit;
+ }
+ };
+ }
+
+// ---------------------------------------------------------------------------
+// r_esmr_attendee_edit_from_calendar_def_commands
+//
+// ---------------------------------------------------------------------------
+//
+RESOURCE ESMR_ID_TABLE r_esmr_attendee_edit_from_calendar_def_commands
+ {
+ id_table =
+ {
+ ESMR_ID { id = EESMRCmdSaveMR; },
+ ESMR_ID { id = EESMRCmdDeleteMR; },
+ ESMR_ID { id = EESMRCmdPrint; },
+ ESMR_ID { id = EESMRCmdAddLocation; },
+ ESMR_ID { id = EESMRCmdAssignFromMap; },
+ ESMR_ID { id = EESMRCmdSearchFromContacts; },
+ ESMR_ID { id = EESMRCmdPreviousLocations; },
+ ESMR_ID { id = EESMRCmdLandmarks; },
+ ESMR_ID { id = EAknCmdHelp; },
+ ESMR_ID { id = EAknCmdExit; }
+ };
+ }
+
+#endif // ESMRSRV_ATTENDEEEDITFROMCALENDARPOLICY
+
+// EOF