meetingrequest/mrpolicy/mrcalentryresolver/data/policies/bccalmeetingeditor.rss
branchRCL_3
changeset 16 4ce476e64c59
equal deleted inserted replaced
13:0396474f30f5 16:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2009-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  resource definition for meeting editor policy
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ---------------------------------------------------------------------------
       
    20 // r_esmr_organizer_edit_from_calendar
       
    21 // BC Cal Event plugin Policy for editing meeting from calendar application
       
    22 // ---------------------------------------------------------------------------
       
    23 //
       
    24 RESOURCE ESMR_POLICY r_bccal_meeting_editor
       
    25     {
       
    26     event_type           = EESMREventTypeAppt;
       
    27     policy_id            = EESMRPolicyMeetingEditor;
       
    28     policy_mode          = EESMREditMR;
       
    29     role_flags           = KEESMRFlagOrganizer;
       
    30     allowed_app          = KEESMRFlagAppEsCalendar;
       
    31     field_ids            = r_bccal_meeting_editor_fields;
       
    32     default_commands     = r_bccal_meeting_editor_def_commands;
       
    33     additional_commands  = 0;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // r_bccal_meeting_editor_fields
       
    38 // Default field set for meeting editor
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 RESOURCE ESMR_ID_TABLE r_bccal_meeting_editor_fields
       
    42     {
       
    43     id_table =
       
    44         {
       
    45         ESMR_FIELD
       
    46             {
       
    47             field_id   = EESMRFieldCalendarName;
       
    48             field_type = EESMRFieldTypeDefault;
       
    49             field_mode = EESMRFieldModeEdit;
       
    50             },
       
    51         ESMR_FIELD
       
    52             {
       
    53             field_id   = EESMRFieldUnifiedEditor;
       
    54             field_type = EESMRFieldTypeDefault;
       
    55             field_mode = EESMRFieldModeEdit;
       
    56             },
       
    57         ESMR_FIELD
       
    58             {
       
    59             field_id   = EESMRFieldSubject;
       
    60             field_type = EESMRFieldTypeDefault;
       
    61             field_mode = EESMRFieldModeEdit;
       
    62             },
       
    63         ESMR_FIELD
       
    64             {
       
    65             field_id   = EESMRFieldAllDayEvent;
       
    66             field_type = EESMRFieldTypeDefault;
       
    67             field_mode = EESMRFieldModeEdit;
       
    68             },
       
    69         ESMR_FIELD
       
    70             {
       
    71             field_id   = EESMRFieldMeetingTime;
       
    72             field_type = EESMRFieldTypeDefault;
       
    73             field_mode = EESMRFieldModeEdit;
       
    74             },
       
    75         ESMR_FIELD
       
    76             {
       
    77             field_id   = EESMRFieldStartDate;
       
    78             field_type = EESMRFieldTypeDefault;
       
    79             field_mode = EESMRFieldModeEdit;
       
    80             },
       
    81         ESMR_FIELD
       
    82             {
       
    83             field_id   = EESMRFieldStopDate;
       
    84             field_type = EESMRFieldTypeDefault;
       
    85             field_mode = EESMRFieldModeEdit;
       
    86             },
       
    87         ESMR_FIELD
       
    88             {
       
    89             field_id   = EESMRFieldAlarmOnOff;
       
    90             field_type = EESMRFieldTypeAdditional;
       
    91             field_mode = EESMRFieldModeEdit;
       
    92             },
       
    93         ESMR_FIELD
       
    94             {
       
    95             field_id   = EESMRFieldAlarmTime;
       
    96             field_type = EESMRFieldTypeAdditional;
       
    97             field_mode = EESMRFieldModeEdit;
       
    98             },
       
    99         ESMR_FIELD
       
   100             {
       
   101             field_id   = EESMRFieldAlarmDate;
       
   102             field_type = EESMRFieldTypeAdditional;
       
   103             field_mode = EESMRFieldModeEdit;
       
   104             },
       
   105         ESMR_FIELD
       
   106             {
       
   107             field_id   = EESMRFieldLocation;
       
   108             field_type = EESMRFieldTypeDefault;
       
   109             field_mode = EESMRFieldModeEdit;
       
   110             },
       
   111         ESMR_FIELD
       
   112             {
       
   113             field_id   = EESMRFieldAlarm;
       
   114             field_type = EESMRFieldTypeDefault;
       
   115             field_mode = EESMRFieldModeEdit;
       
   116             },
       
   117         ESMR_FIELD
       
   118             {
       
   119             field_id   = EESMRFieldRecurrence;
       
   120             field_type = EESMRFieldTypeDefault;
       
   121             field_mode = EESMRFieldModeEdit;
       
   122             },
       
   123         ESMR_FIELD
       
   124             {
       
   125             field_id   = EESMRFieldRecurrenceDate;
       
   126             field_type = EESMRFieldTypeAdditional;
       
   127             field_mode = EESMRFieldModeEdit;
       
   128             },
       
   129         ESMR_FIELD
       
   130             {
       
   131             field_id   = EESMRFieldSync;
       
   132             field_type = EESMRFieldTypeDefault;
       
   133             field_mode = EESMRFieldModeEdit;
       
   134             },
       
   135         ESMR_FIELD
       
   136             {
       
   137             field_id   = EESMRFieldAttachments;
       
   138             field_type = EESMRFieldTypeDefault;
       
   139             field_mode = EESMRFieldModeEdit;
       
   140             },
       
   141         ESMR_FIELD
       
   142             {
       
   143             field_id   = EESMRFieldDescription;
       
   144             field_type = EESMRFieldTypeDefault;
       
   145             field_mode = EESMRFieldModeEdit;
       
   146             }
       
   147         };
       
   148     }
       
   149 
       
   150 // ---------------------------------------------------------------------------
       
   151 // r_bccal_meeting_editor_def_commands
       
   152 // Default options menu items
       
   153 // ---------------------------------------------------------------------------
       
   154 //
       
   155 RESOURCE ESMR_ID_TABLE r_bccal_meeting_editor_def_commands
       
   156     {
       
   157     id_table =
       
   158         {
       
   159         ESMR_ID { id = EESMRCmdCalEntryUIDelete; },
       
   160         ESMR_ID { id = EESMRCmdCalEntryUIAddParticipants; },
       
   161         ESMR_ID { id = EESMRCmdSaveMR; },
       
   162         ESMR_ID { id = EESMRCmdPriorityOptions; },
       
   163         ESMR_ID { id = EESMRCmdPriorityLow; },
       
   164         ESMR_ID { id = EESMRCmdPriorityHigh; },
       
   165         ESMR_ID { id = EESMRCmdPriorityNormal; },
       
   166         ESMR_ID { id = EESMRCmdPriorityLow; },
       
   167         ESMR_ID { id = EAknCmdHelp; },
       
   168         ESMR_ID { id = EAknCmdExit; }
       
   169         };
       
   170     }