meetingrequest/mrpolicy/mrcalentryresolver/data/policies/bccalanniversaryviewer.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 31 Mar 2010 21:08:33 +0300
branchRCL_3
changeset 16 4ce476e64c59
permissions -rw-r--r--
Revision: 201011 Kit: 201013

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


// ---------------------------------------------------------------------------
// r_bccal_anniversary_viewer
// Calendar Entry UI Policy for viewing anniversary from calendar application
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_POLICY r_bccal_anniversary_viewer
    {
    event_type           = EESMREventTypeEAnniv;
    policy_id            = EESMRPolicyAnniversaryViewer;
    policy_mode          = EESMRViewMR;
    role_flags           = KEESMRFlagOrganizer;
    allowed_app          = KEESMRFlagAppEsCalendar;
    field_ids            = r_bccal_anniversary_viewer_fields;
    default_commands     = r_bccal_anniversary_viewer_def_commands;
    additional_commands  = 0;
    }

// ---------------------------------------------------------------------------
// r_bccal_anniversary_viewer_fields
// Default field set for anniversary viewer
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_bccal_anniversary_viewer_fields
    {
    id_table =
        {
        ESMR_FIELD
            {
            field_id   = EESMRFieldCalendarName;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView; 
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldDetailedSubject;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldStartDate;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldAlarmTime;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldAlarmDate;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldSync;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldViewerAttachments;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },            
        ESMR_FIELD
            {
            field_id   = EESMRFieldDescription;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_bccal_anniversary_viewer_def_commands
// Default options menu items for anniversary viewer
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_bccal_anniversary_viewer_def_commands
    {
    id_table =
        {
        ESMR_ID { id = EESMRCmdCalEntryUIEdit; },
        ESMR_ID { id = EESMRCmdCalEntryUIDelete; },
        ESMR_ID { id = EAknCmdHelp; },
        ESMR_ID { id = EAknCmdExit; }
        };
    }