meetingrequest/mrcommon/inc/esmrcommands.h
changeset 0 8466d47a6819
child 12 4ce476e64c59
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:  esmrui commands definitions
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef ESMRCOMMANDS_H
       
    19 #define ESMRCOMMANDS_H
       
    20 
       
    21 #include <avkon.hrh>
       
    22 
       
    23 /**
       
    24  * Enumeration for ES MR commands.
       
    25  * Define ES email command ids after enumaration value
       
    26  * EESMRFirstFSMailCommand.
       
    27  */
       
    28 enum TESMRCommand
       
    29     {
       
    30     EESMRCmdUndefined = 0,               // Undefined command
       
    31     EESMRCmdAcceptMR = 1,                // Accept received MR
       
    32     EESMRCmdTentativeMR,                 // Tentatively accept MR
       
    33     EESMRCmdDeclineMR,                   // Decline MR
       
    34     EESMRCmdDeleteMR,                    // Deletes MR
       
    35     EESMRCmdRemoveFromCalendar,          // Removes cancelled MR from calendar
       
    36     EESMRCmdSendMR,                      // Send Meeting request
       
    37     EESMRCmdSendMRUpdate,                // Send MR update
       
    38     EESMRCmdSaveMR,                      // Save MR
       
    39     EESMRCmdEdit,                        // Edit MR
       
    40     EESMRCmdEditLocal,                   // Locally edit meeting request
       
    41     EESMRCmdReply,                       // Reply to one recipient
       
    42     EESMRCmdReplyAll,                    // Reply to all recipients
       
    43     EESMRCmdForwardAsMeeting,            // Forward MR as meeting
       
    44     EESMRCmdForwardAsMail,               // Forward MR as mail
       
    45     EESMRCmdViewCalendar,                // View calendar
       
    46     EESMRCmdAddOptAttendee,              // Adds optional attendee
       
    47     EESMRCmdPriorityHigh,                // Mark MR with 'high' priority
       
    48     EESMRCmdPriorityNormal,              // Mark MR with 'normal' priority
       
    49     EESMRCmdPriorityLow,                 // Mark MR with 'low' priority
       
    50     EESMRCmdPriorityOptions,             // Cascade menu command for priority options
       
    51     EESMRCmdAddAttendees,                // add attendees to meeting
       
    52     EESMRCmdShowAllAttendees,            // show all attendees of attendee viever field
       
    53     EESMRCmdForward,                     // Forward MR
       
    54     EESMRCmdForceExit,                   // Exit without saving
       
    55     EESMRCmdAlarmOn,
       
    56     EESMRCmdAlarmOff,
       
    57     EESMRCmdOpenPriorityQuery,
       
    58     EESMRCmdOpenSyncQuery,
       
    59     EESMRCmdOpenRecurrenceQuery,
       
    60     EESMRCmdOpenAlarmQuery,
       
    61     EESMRCmdOpenLocationContextMenu,
       
    62     EESMRCmdCheckEvent,
       
    63     EESMRCmdClipboardCopy,				// Copy to clipboard in viewer options menu
       
    64     EESMRCmdTodoMarkAsDone,			    // todoviewer options menu
       
    65     EESMRCmdTodoMarkAsNotDone,			// todoviewer options menu
       
    66 
       
    67     /** 
       
    68      * Tracking view commands
       
    69      */
       
    70     EESMRCmdViewTrack,					// Show tracking view
       
    71     EESMRCmdCall,						// Call the selected participant
       
    72     EESMRCmdBack,						// Back to previos dialog
       
    73 
       
    74     /**
       
    75      * Calendar Entry UI Specific commands
       
    76      */
       
    77     EESMRCmdCalEntryUIDelete,           // Delete calendar entry item
       
    78     EESMRCmdCalEntryUISend,             // Send calendar entry item
       
    79     EESMRCmdCalEntryUIEdit,             // Edit calendar entry item
       
    80     EESMRCmdCalEntryUIAddParticipants,  // Add participants to meeting item
       
    81     EESMRCmdCalEntryUISave,             // Sace calendar entry item
       
    82 
       
    83     /**
       
    84      * MRUI Attachment specific commands
       
    85      */
       
    86     EESMRAcceptWithoutAttachmentCheck,          // Accept MR without attachment check
       
    87     EESMRTentativeWithoutAttachmentCheck,       // Tentative MR without attachment check
       
    88     EESMRDeclineWithoutAttachmentCheck,         // Decline MR without attachment check
       
    89     EESMRRemoveFromDbWithoutAttachmentCheck,    // Remove from calendar without attachment check
       
    90 
       
    91     /**
       
    92      * Attendee field contact handling related
       
    93      */
       
    94     EESMRCmdAttendeeSoftkeySelect,
       
    95     EESMRCmdAttendeeSoftkeyCancel,
       
    96     EESMRCmdAttendeeInsertContact,
       
    97 
       
    98     EESMRCmdAttendeeRequiredEnabled,
       
    99     EESMRCmdAttendeeRequiredDisabled,
       
   100     EESMRCmdAttendeeOptionalEnabled,
       
   101     EESMRCmdAttendeeOptionalDisabled,
       
   102 
       
   103     /** Attachment field specific command */
       
   104     EESMRCmdMskOpenEmailAttachment,
       
   105     
       
   106     /**
       
   107      * MR Contact Action Plugin specific command
       
   108      * to notify that editor is inialized and ready
       
   109      * to be shown on screen
       
   110      * */
       
   111     EESMRCmdEditorInitializationComplete,    
       
   112 
       
   113     /**
       
   114      * Location integration
       
   115      */
       
   116     EESMRCmdAddLocation,
       
   117     EESMRCmdAssignFromMap,
       
   118     EESMRCmdUpdateFromMap,
       
   119     EESMRCmdSearchFromContacts,
       
   120     EESMRCmdSearchFromMap,
       
   121     EESMRCmdShowOnMap,
       
   122     EESMRCmdPreviousLocations,
       
   123     EESMRCmdLandmarks,
       
   124     EESMRCmdDisableWaypointIcon,
       
   125     EESMRCmdEnableWaypointIcon,
       
   126     
       
   127     /**
       
   128      * Middle softkey restoration 
       
   129      */
       
   130     EESMRCmdRestoreMiddleSoftKey,
       
   131     
       
   132     /**
       
   133      * Text size of field exceeded
       
   134      */
       
   135     EESMRCmdSizeExceeded,
       
   136     
       
   137     /**
       
   138      * FS Email specific command range
       
   139      */
       
   140     //<cmail> Moved bit forward to avoid conflict with avkon.hrh/ProcessCommandL constant range
       
   141     EESMRFirstFSMailCommand = 0x1388,
       
   142     //</cmail>
       
   143     EESMRCCmdMailLast =       0x2000,
       
   144 
       
   145     /**
       
   146      * SendUI
       
   147      * this value comes from and is shared with CalenGlobalData component
       
   148      */
       
   149     EESMRCmdSendAs = 30000,
       
   150 
       
   151     /**
       
   152      * Printing Framework
       
   153      */
       
   154     EESMRCmdPrint = 100155,
       
   155     EESMRCmdPrint_Reserved1,
       
   156     EESMRCmdPrint_Reserved2,
       
   157     EESMRCmdPrint_Reserved3,
       
   158     EESMRCmdPrint_Reserved4,
       
   159 
       
   160 
       
   161     /**
       
   162      * Action menu command items
       
   163      */
       
   164     EESMRCmdActionMenu = 999500,        // Action menu command
       
   165     EESMRCmdActionMenuFirst = 999501,   // First dynamic submenu command
       
   166     EESMRCmdActionMenuLast = 999600     // Last dynamic submenu command
       
   167     };
       
   168 
       
   169 #endif // ESMRCOMMANDS_H
       
   170 
       
   171 // EOF