meetingrequest/mrpolicy/mrcalentryresolver/data/policies/bccalanniversaryeditor.rss
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:28:57 +0100
branchRCL_3
changeset 64 3533d4323edc
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 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 anniversary editor policy
*
*/


// ---------------------------------------------------------------------------
// r_bccal_anniversary_editor
// CalentryUI Policy for editing anniversary from calendar application
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_POLICY r_bccal_anniversary_editor
    {
    event_type           = EESMREventTypeEAnniv;
    policy_id            = EESMRPolicyAnniversaryEditor;
    policy_mode          = EESMREditMR;
    role_flags           = KEESMRFlagOrganizer;
    allowed_app          = KEESMRFlagAppEsCalendar;
    field_ids            = r_bccal_anniversary_editor_fields;
    default_commands     = r_bccal_anniversary_editor_def_commands;
    additional_commands  = 0;
    }

// ---------------------------------------------------------------------------
// r_bccal_anniversary_editor_fields
//
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_bccal_anniversary_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   = EESMRFieldOccasion;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldStartDate;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldAlarmOnOff;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldAlarmTime;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeEdit;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldAlarmDate;
            field_type = EESMRFieldTypeDefault;
            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_anniversary_editor_def_commands
// Default options menu command for anniversary editor
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_bccal_anniversary_editor_def_commands
    {
    id_table =
        {
        ESMR_ID { id = EESMRCmdCalEntryUIDelete; },
        ESMR_ID { id = EESMRCmdSaveMR; },
        ESMR_ID { id = EAknCmdHelp; },
        ESMR_ID { id = EAknCmdExit; }
        };
    }