meetingrequest/mrpolicy/data/policies/esmrsrforwardasmeetingrequestfrommail.rss
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c)  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 forwarding meeting request
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef ESMRSRV_FORWARDASMEETINGREQUESTFROMMAILPOLICY
       
    19 #define ESMRSRV_FORWARDASMEETINGREQUESTFROMMAILPOLICY
       
    20 
       
    21 // ---------------------------------------------------------------------------
       
    22 // r_esmr_forward_as_meeting_request_from_mail
       
    23 // ES MR Policy for forwarding meeting request
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 RESOURCE ESMR_POLICY r_esmr_forward_as_meeting_request_from_mail
       
    27     {
       
    28     event_type           = EESMREventTypeAppt;
       
    29     policy_id            = EESMRPolicyForwardAsMeetingRequestFromMail;
       
    30     policy_mode          = EESMRForwardMR;
       
    31     role_flags           = KEESMRFlagOrganizer |
       
    32                            KEESMRFlagRequiredAttendee |
       
    33                            KEESMRFlagOptionalAttendee |
       
    34                            KEESMRFlagNonParticipant;
       
    35     allowed_app          = KEESMRFlagAppEsEmail;
       
    36     field_ids            = r_esmr_forward_as_meeting_request_from_mail_fields;
       
    37     default_commands     = r_esmr_forward_as_meeting_request_from_mail_def_commands;
       
    38     additional_commands  = 0;
       
    39     }
       
    40 
       
    41 // ---------------------------------------------------------------------------
       
    42 // r_esmr_forward_as_meeting_request_from_mail_fields
       
    43 //
       
    44 // ---------------------------------------------------------------------------
       
    45 //
       
    46 RESOURCE ESMR_ID_TABLE r_esmr_forward_as_meeting_request_from_mail_fields
       
    47     {
       
    48     id_table =
       
    49         {
       
    50         ESMR_FIELD
       
    51             {
       
    52             field_id   = EESMRFieldAttendee;
       
    53             field_type = EESMRFieldTypeDefault;
       
    54             field_mode = EESMRFieldModeEdit;
       
    55             },
       
    56         ESMR_FIELD
       
    57             {
       
    58             field_id   = EESMRFieldOptAttendee;
       
    59             field_type = EESMRFieldTypeAdditional;
       
    60             field_mode = EESMRFieldModeEdit;
       
    61             },
       
    62         ESMR_FIELD
       
    63             {
       
    64             field_id   = EESMRFieldDetailedSubject;
       
    65             field_type = EESMRFieldTypeDefault;
       
    66             field_mode = EESMRFieldModeView;
       
    67             },
       
    68         ESMR_FIELD
       
    69             {
       
    70             field_id   = EESMRFieldAttachments;
       
    71             field_type = EESMRFieldTypeAdditional;
       
    72             field_mode = EESMRFieldModeView;
       
    73             },
       
    74         ESMR_FIELD
       
    75             {
       
    76             field_id   = EESMRFieldMeetingTime;
       
    77             field_type = EESMRFieldTypeDefault;
       
    78             field_mode = EESMRFieldModeView;
       
    79             },
       
    80         ESMR_FIELD
       
    81             {
       
    82             field_id   = EESMRFieldStartDate;
       
    83             field_type = EESMRFieldTypeDefault;
       
    84             field_mode = EESMRFieldModeView;
       
    85             },
       
    86         ESMR_FIELD
       
    87             {
       
    88             field_id   = EESMRFieldStopDate;
       
    89             field_type = EESMRFieldTypeDefault;
       
    90             field_mode = EESMRFieldModeView;
       
    91             },
       
    92         ESMR_FIELD
       
    93             {
       
    94             field_id   = EESMRFieldLocation;
       
    95             field_type = EESMRFieldTypeDefault;
       
    96             field_mode = EESMRFieldModeView;
       
    97             },
       
    98         ESMR_FIELD
       
    99             {
       
   100             field_id   = EESMRFieldAlarm;
       
   101             field_type = EESMRFieldTypeDefault;
       
   102             field_mode = EESMRFieldModeView;
       
   103             },
       
   104         ESMR_FIELD
       
   105             {
       
   106             field_id   = EESMRFieldRecurrence;
       
   107             field_type = EESMRFieldTypeDefault;
       
   108             field_mode = EESMRFieldModeView;
       
   109             },
       
   110         ESMR_FIELD
       
   111             {
       
   112             field_id   = EESMRFieldRecurrenceDate;
       
   113             field_type = EESMRFieldTypeDefault;
       
   114             field_mode = EESMRFieldModeView;
       
   115             },
       
   116         ESMR_FIELD
       
   117             {
       
   118             field_id   = EESMRFieldSync;
       
   119             field_type = EESMRFieldTypeDefault;
       
   120             field_mode = EESMRFieldModeView;
       
   121             },
       
   122         ESMR_FIELD
       
   123             {
       
   124             field_id   = EESMRFieldDescription;
       
   125             field_type = EESMRFieldTypeDefault;
       
   126             field_mode = EESMRFieldModeEdit;
       
   127             }
       
   128         };
       
   129     }
       
   130 
       
   131 // ---------------------------------------------------------------------------
       
   132 // r_esmr_forward_as_meeting_request_from_mail_def_commands
       
   133 //
       
   134 // ---------------------------------------------------------------------------
       
   135 //
       
   136 RESOURCE ESMR_ID_TABLE r_esmr_forward_as_meeting_request_from_mail_def_commands
       
   137     {
       
   138     id_table =
       
   139         {
       
   140         ESMR_ID { id = EESMRCmdSendMR; },
       
   141         ESMR_ID { id = EESMRCmdAddOptAttendee; },
       
   142         ESMR_ID { id = EESMRCmdViewCalendar; },
       
   143 //        ESMR_ID { id = EESMRCmdCopy; },
       
   144         ESMR_ID { id = EESMRCmdPrint; },
       
   145         ESMR_ID { id = EAknCmdHelp; },
       
   146         ESMR_ID { id = EAknCmdExit; }
       
   147         };
       
   148     }
       
   149 
       
   150 #endif // ESMRSRV_FORWARDASMEETINGREQUESTFROMMAILPOLICY
       
   151 
       
   152 // EOF