meetingrequest/mrpolicy/mrcalentryresolver/data/policies/bccalmeetingeditor.rss
author Simon Howkins <simonh@symbian.org>
Thu, 25 Nov 2010 12:13:04 +0000
branchRCL_3
changeset 83 31a5fbf5db1d
parent 16 4ce476e64c59
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

/*
* Copyright (c) 2009-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 definition for meeting editor policy
*
*/


// ---------------------------------------------------------------------------
// r_esmr_organizer_edit_from_calendar
// BC Cal Event plugin Policy for editing meeting from calendar application
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_POLICY r_bccal_meeting_editor
    {
    event_type           = EESMREventTypeAppt;
    policy_id            = EESMRPolicyMeetingEditor;
    policy_mode          = EESMREditMR;
    role_flags           = KEESMRFlagOrganizer;
    allowed_app          = KEESMRFlagAppEsCalendar;
    field_ids            = r_bccal_meeting_editor_fields;
    default_commands     = r_bccal_meeting_editor_def_commands;
    additional_commands  = 0;
    }

// ---------------------------------------------------------------------------
// r_bccal_meeting_editor_fields
// Default field set for meeting editor
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_bccal_meeting_editor_fields
    {
    id_table =
        {
        ESMR_FIELD
            {
            field_id   = EESMRFieldCalendarName;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldUnifiedEditor;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldSubject;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldAllDayEvent;
            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   = 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 = EESMRFieldTypeAdditional;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldSync;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldAttachments;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldDescription;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_bccal_meeting_editor_def_commands
// Default options menu items
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_bccal_meeting_editor_def_commands
    {
    id_table =
        {
        ESMR_ID { id = EESMRCmdCalEntryUIDelete; },
        ESMR_ID { id = EESMRCmdCalEntryUIAddParticipants; },
        ESMR_ID { id = EESMRCmdSaveMR; },
        ESMR_ID { id = EESMRCmdPriorityOptions; },
        ESMR_ID { id = EESMRCmdPriorityLow; },
        ESMR_ID { id = EESMRCmdPriorityHigh; },
        ESMR_ID { id = EESMRCmdPriorityNormal; },
        ESMR_ID { id = EESMRCmdPriorityLow; },
        ESMR_ID { id = EAknCmdHelp; },
        ESMR_ID { id = EAknCmdExit; }
        };
    }