meetingrequest/mrpolicy/data/policies/esmrsrattendeeeditmrfromcalendar.rss
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-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 definitions for editing MR from calendar
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef ESMRSRV_ATTENDEEEDITFROMCALENDARPOLICY
       
    19 #define ESMRSRV_ATTENDEEEDITFROMCALENDARPOLICY
       
    20 
       
    21 // ---------------------------------------------------------------------------
       
    22 // r_esmr_attendee_edit_from_calendar
       
    23 // ES MR Policy for editing MR from calendar application
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 RESOURCE ESMR_POLICY r_esmr_attendee_edit_from_calendar
       
    27     {
       
    28     event_type           = EESMREventTypeAppt;
       
    29     policy_id            = EESMRPolicyAttendeeEditMRFromCal;
       
    30     policy_mode          = EESMREditMR;
       
    31     role_flags           = KEESMRFlagRequiredAttendee |
       
    32                            KEESMRFlagOptionalAttendee |
       
    33                            KEESMRFlagNonParticipant ;
       
    34     allowed_app          = KEESMRFlagAppEsCalendar;
       
    35     field_ids            = r_esmr_attendee_edit_from_calendar_fields;
       
    36     default_commands     = r_esmr_attendee_edit_from_calendar_def_commands;
       
    37     additional_commands  = 0;
       
    38     }
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 // r_esmr_attendee_edit_from_calendar_def_fields
       
    42 //
       
    43 // ---------------------------------------------------------------------------
       
    44 //
       
    45 RESOURCE ESMR_ID_TABLE r_esmr_attendee_edit_from_calendar_fields
       
    46     {
       
    47     id_table =
       
    48         {
       
    49         ESMR_FIELD
       
    50             {
       
    51             field_id   = EESMRFieldAttendee;
       
    52             field_type = EESMRFieldTypeDefault;
       
    53             field_mode = EESMRFieldModeEdit;
       
    54             },
       
    55         ESMR_FIELD
       
    56             {
       
    57             field_id   = EESMRFieldOptAttendee;
       
    58             field_type = EESMRFieldTypeAdditional;
       
    59             field_mode = EESMRFieldModeEdit;
       
    60             },
       
    61         ESMR_FIELD
       
    62             {
       
    63             field_id   = EESMRFieldSubject;
       
    64             field_type = EESMRFieldTypeDefault;
       
    65             field_mode = EESMRFieldModeEdit;
       
    66             },
       
    67         ESMR_FIELD
       
    68             {
       
    69             field_id   = EESMRFieldMeetingTime;
       
    70             field_type = EESMRFieldTypeDefault;
       
    71             field_mode = EESMRFieldModeEdit;
       
    72             },
       
    73         ESMR_FIELD
       
    74             {
       
    75             field_id   = EESMRFieldStartDate;
       
    76             field_type = EESMRFieldTypeDefault;
       
    77             field_mode = EESMRFieldModeEdit;
       
    78             },
       
    79         ESMR_FIELD
       
    80             {
       
    81             field_id   = EESMRFieldStopDate;
       
    82             field_type = EESMRFieldTypeDefault;
       
    83             field_mode = EESMRFieldModeEdit;
       
    84             },
       
    85         ESMR_FIELD
       
    86             {
       
    87             field_id   = EESMRFieldAllDayEvent;
       
    88             field_type = EESMRFieldTypeDefault;
       
    89             field_mode = EESMRFieldModeEdit;
       
    90             },
       
    91         ESMR_FIELD
       
    92             {
       
    93             field_id   = EESMRFieldAlarmOnOff;
       
    94             field_type = EESMRFieldTypeAdditional;
       
    95             field_mode = EESMRFieldModeEdit;
       
    96             },
       
    97         ESMR_FIELD
       
    98             {
       
    99             field_id   = EESMRFieldAlarmTime;
       
   100             field_type = EESMRFieldTypeAdditional;
       
   101             field_mode = EESMRFieldModeEdit;
       
   102             },
       
   103         ESMR_FIELD
       
   104             {
       
   105             field_id   = EESMRFieldAlarmDate;
       
   106             field_type = EESMRFieldTypeAdditional;
       
   107             field_mode = EESMRFieldModeEdit;
       
   108             },
       
   109         ESMR_FIELD
       
   110             {
       
   111             field_id   = EESMRFieldLocation;
       
   112             field_type = EESMRFieldTypeDefault;
       
   113             field_mode = EESMRFieldModeEdit;
       
   114             },
       
   115         ESMR_FIELD
       
   116             {
       
   117             field_id   = EESMRFieldAlarm;
       
   118             field_type = EESMRFieldTypeDefault;
       
   119             field_mode = EESMRFieldModeEdit;
       
   120             },
       
   121         ESMR_FIELD
       
   122             {
       
   123             field_id   = EESMRFieldRecurrence;
       
   124             field_type = EESMRFieldTypeDefault;
       
   125             field_mode = EESMRFieldModeEdit;
       
   126             },
       
   127         ESMR_FIELD
       
   128             {
       
   129             field_id   = EESMRFieldRecurrenceDate;
       
   130             field_type = EESMRFieldTypeDefault;
       
   131             field_mode = EESMRFieldModeEdit;
       
   132             },
       
   133         ESMR_FIELD
       
   134             {
       
   135             field_id   = EESMRFieldSync;
       
   136             field_type = EESMRFieldTypeDefault;
       
   137             field_mode = EESMRFieldModeEdit;
       
   138             },
       
   139         ESMR_FIELD
       
   140             {
       
   141             field_id   = EESMRFieldDescription;
       
   142             field_type = EESMRFieldTypeDefault;
       
   143             field_mode = EESMRFieldModeEdit;
       
   144             }
       
   145         };
       
   146     }
       
   147 
       
   148 // ---------------------------------------------------------------------------
       
   149 // r_esmr_attendee_edit_from_calendar_def_commands
       
   150 //
       
   151 // ---------------------------------------------------------------------------
       
   152 //
       
   153 RESOURCE ESMR_ID_TABLE r_esmr_attendee_edit_from_calendar_def_commands
       
   154     {
       
   155     id_table =
       
   156         {
       
   157         ESMR_ID { id = EESMRCmdSaveMR; },
       
   158         ESMR_ID { id = EESMRCmdDeleteMR; },
       
   159         ESMR_ID { id = EESMRCmdPrint; },
       
   160         ESMR_ID { id = EESMRCmdAddLocation; },
       
   161         ESMR_ID { id = EESMRCmdAssignFromMap; },
       
   162         ESMR_ID { id = EESMRCmdSearchFromContacts; },
       
   163         ESMR_ID { id = EESMRCmdPreviousLocations; },
       
   164         ESMR_ID { id = EESMRCmdLandmarks; },
       
   165         ESMR_ID { id = EAknCmdHelp; },
       
   166         ESMR_ID { id = EAknCmdExit; }
       
   167         };
       
   168     }
       
   169 
       
   170 #endif // ESMRSRV_ATTENDEEEDITFROMCALENDARPOLICY
       
   171 
       
   172 // EOF