/*
* 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 tracking MR from calendar
*
*/
#ifndef ESMRSRV_TRACKINGVIEWPOLICY_FROM_CALENDAR
#define ESMRSRV_TRACKINGVIEWPOLICY_FROM_CALENDAR
// ---------------------------------------------------------------------------
// r_esmr_tracking_view_from_calendar
// ES Tracking view for MR from calendar application
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_POLICY r_esmr_tracking_view
{
event_type = EESMREventTypeAppt;
policy_id = EESMRPolicyTrackingView;
policy_mode = EESMRTrackingViewMR;
role_flags = KEESMRFlagOrganizer;
allowed_app = KEESMRFlagAppEsCalendar;
field_ids = r_esmr_tracking_view_fields;
default_commands = r_mrui_tracking_view_def_commands;
additional_commands = 0;
}
// ---------------------------------------------------------------------------
// r_esmr_tracking_view_fields
// Default field set for tracking view
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_esmr_tracking_view_fields
{
id_table =
{
ESMR_FIELD
{
field_id = EESMRFieldReqTrack;
field_type = EESMRFieldTypeAdditional;
field_mode = EESMRFieldModeView;
},
ESMR_FIELD
{
field_id = EESMRTrackStatus;
field_type = EESMRFieldTypeAdditional;
field_mode = EESMRFieldModeView;
},
ESMR_FIELD
{
field_id = EESMRFieldOptTrack;
field_type = EESMRFieldTypeAdditional;
field_mode = EESMRFieldModeView;
}
// Add other fields here
};
}
// ---------------------------------------------------------------------------
// r_mrui_tracking_view_def_commands
// Default options menu items
// ---------------------------------------------------------------------------
//
RESOURCE ESMR_ID_TABLE r_mrui_tracking_view_def_commands
{
id_table =
{
ESMR_ID { id = EAknCmdHelp; },
ESMR_ID { id = EAknCmdExit; }
};
}
#endif // ESMRSRV_TRACKINGVIEWPOLICY_FROM_CALENDAR
// EOF