meetingrequest/mrpolicy/mrentryresolver/data/policies/esmrorganizerviewalldayeventfromcalendarpolicy.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) 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 viewing MR from mail policy
*
*/

#ifndef ESMRSRV_VIEWALLDAYEVENTFROMCALENDARPOLICY
#define ESMRSRV_VIEWALLDAYEVENTFROMCALENDARPOLICY

// ---------------------------------------------------------------------------
// r_esmr_organizer_view_allday_event_from_calendar
// ES MR Policy forviewing MR from Calendar application
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_POLICY r_esmr_organizer_view_allday_event_from_calendar
    {
    event_type           = EESMREventTypeAppt;
    policy_id            = EESMRPolicyOrganizerViewAllDayEventMRFromCal;
    policy_mode          = EESMRViewAllDayMR;
    role_flags           = KEESMRFlagOrganizer;
    allowed_app          = KEESMRFlagAppEsCalendar;
    field_ids            = r_esmr_organizer_view_allday_event_from_calendar_fields;
    default_commands     = r_esmr_organizer_view_allday_event_from_calendar_def_commands;
    additional_commands  = 0; // No additional commands
    }

// ---------------------------------------------------------------------------
// r_esmr_organizer_view_allday_event_from_calendar_fields
//
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_esmr_organizer_view_allday_event_from_calendar_fields
    {
    id_table =
        {
        ESMR_FIELD
            {
            field_id   = EESMRFieldAttendee;
            field_type = EESMRFieldTypeAdditional;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldOptAttendee;
            field_type = EESMRFieldTypeAdditional;
            field_mode = EESMRFieldModeView;
            },
        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   = EESMRFieldAllDayEvent;
            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   = EESMRFieldAlarmTime;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldAlarmDate;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldLocation;
            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   = EESMRFieldViewerAttachments;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            },
        ESMR_FIELD
            {
            field_id   = EESMRFieldDescription;
            field_type = EESMRFieldTypeDefault;
            field_mode = EESMRFieldModeView;
            }
        };
    }

// ---------------------------------------------------------------------------
// r_esmr_organizer_view_allday_event_from_calendar_def_commands
//
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_esmr_organizer_view_allday_event_from_calendar_def_commands
    {
    id_table =
        {
        ESMR_ID { id = EESMRCmdEdit;},
        ESMR_ID { id = EESMRCmdForwardOptions;},
        ESMR_ID { id = EESMRCmdForwardAsMeeting;},
        ESMR_ID { id = EESMRCmdForwardAsMail;},
        ESMR_ID { id = EESMRCmdViewTrack; },
        ESMR_ID { id = EESMRCmdDeleteMR;},
        ESMR_ID { id = EAknCmdHelp;},
        ESMR_ID { id = EAknCmdExit;}
        };
    }

#endif // ESMRSRV_ATTENDEEVIEWALLDAYEVENTFROMCALENDARPOLICY

// EOF