meetingrequest/mrpolicy/data/policies/esmrsrattendeeeditmrfromcalendar.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:39:21 +0200
changeset 0 8466d47a6819
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* 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