meetingrequest/mrpolicy/data/policies/esmrsrforwardasmeetingrequestfrommail.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)  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 forwarding meeting request
*
*/

#ifndef ESMRSRV_FORWARDASMEETINGREQUESTFROMMAILPOLICY
#define ESMRSRV_FORWARDASMEETINGREQUESTFROMMAILPOLICY

// ---------------------------------------------------------------------------
// r_esmr_forward_as_meeting_request_from_mail
// ES MR Policy for forwarding meeting request
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_POLICY r_esmr_forward_as_meeting_request_from_mail
    {
    event_type           = EESMREventTypeAppt;
    policy_id            = EESMRPolicyForwardAsMeetingRequestFromMail;
    policy_mode          = EESMRForwardMR;
    role_flags           = KEESMRFlagOrganizer |
                           KEESMRFlagRequiredAttendee |
                           KEESMRFlagOptionalAttendee |
                           KEESMRFlagNonParticipant;
    allowed_app          = KEESMRFlagAppEsEmail;
    field_ids            = r_esmr_forward_as_meeting_request_from_mail_fields;
    default_commands     = r_esmr_forward_as_meeting_request_from_mail_def_commands;
    additional_commands  = 0;
    }

// ---------------------------------------------------------------------------
// r_esmr_forward_as_meeting_request_from_mail_fields
//
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_esmr_forward_as_meeting_request_from_mail_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   = 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 = EESMRFieldModeEdit;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_esmr_forward_as_meeting_request_from_mail_def_commands
//
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_esmr_forward_as_meeting_request_from_mail_def_commands
    {
    id_table =
        {
        ESMR_ID { id = EESMRCmdSendMR; },
        ESMR_ID { id = EESMRCmdAddOptAttendee; },
        ESMR_ID { id = EESMRCmdViewCalendar; },
//        ESMR_ID { id = EESMRCmdCopy; },
        ESMR_ID { id = EESMRCmdPrint; },
        ESMR_ID { id = EAknCmdHelp; },
        ESMR_ID { id = EAknCmdExit; }
        };
    }

#endif // ESMRSRV_FORWARDASMEETINGREQUESTFROMMAILPOLICY

// EOF