meetingrequest/mrcommon/inc/esmrcommands.h
branchRCL_3
changeset 64 3533d4323edc
equal deleted inserted replaced
63:d189ee25cf9d 64:3533d4323edc
       
     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 #include <calencommands.hrh>
       
    23 
       
    24 /**
       
    25  * Enumeration for ES MR commands.
       
    26  * Define ES email command ids after enumaration value
       
    27  * EESMRFirstFSMailCommand.
       
    28  */
       
    29 enum TESMRCommand
       
    30     {
       
    31     EESMRCmdUndefined = 0,               // Undefined command
       
    32     EESMRCmdAcceptMR = 1,                // Accept received MR
       
    33     EESMRCmdTentativeMR,                 // Tentatively accept MR
       
    34     EESMRCmdDeclineMR,                   // Decline MR
       
    35     EESMRCmdDeleteMR,                    // Deletes MR
       
    36     EESMRCmdRemoveFromCalendar,          // Removes cancelled MR from calendar
       
    37     EESMRCmdSendMR,                      // Send Meeting request
       
    38     EESMRCmdSendMRUpdate,                // Send MR update
       
    39     EESMRCmdSaveMR,                      // Save MR
       
    40     EESMRCmdSaveCloseMR,				 // Save and Close MR
       
    41     EESMRCmdEdit,                        // Edit MR
       
    42     EESMRCmdEditLocal,                   // Locally edit meeting request
       
    43     EESMRCmdReply,                       // Reply to one recipient
       
    44     EESMRCmdReplyAll,                    // Reply to all recipients
       
    45     EESMRCmdForwardAsMeeting,            // Forward MR as meeting
       
    46     EESMRCmdForwardAsMail,               // Forward MR as mail
       
    47     EESMRCmdViewCalendar,                // View calendar
       
    48     EESMRCmdAddOptAttendee,              // Adds optional attendee
       
    49     EESMRCmdPriorityHigh,                // Mark MR with 'high' priority
       
    50     EESMRCmdPriorityNormal,              // Mark MR with 'normal' priority
       
    51     EESMRCmdPriorityLow,                 // Mark MR with 'low' priority
       
    52     EESMRCmdPriorityOptions,             // Cascade menu command for priority options
       
    53     EESMRCmdAddAttendees,                // add attendees to meeting
       
    54     EESMRCmdShowAllAttendees,            // show all attendees of attendee viever field
       
    55     EESMRCmdForwardOptions,              // Cascade menu command for forward options
       
    56     EESMRCmdForceExit,                   // Exit without saving
       
    57     EESMRCmdAlarmOn,
       
    58     EESMRCmdAlarmOff,
       
    59     EESMRCmdOpenPriorityQuery,
       
    60     EESMRCmdOpenSyncQuery,
       
    61     EESMRCmdOpenRecurrenceQuery,
       
    62     EESMRCmdOpenAlarmQuery,
       
    63     EESMRCmdOpenLocationContextMenu,
       
    64     EESMRCmdCheckEvent,
       
    65     EESMRCmdClipboardCopy,              // Copy to clipboard in viewer options menu
       
    66     EESMRCmdTodoMarkAsDone,             // todoviewer options menu
       
    67     EESMRCmdTodoMarkAsNotDone,          // todoviewer options menu
       
    68     EESMRCmdOpenUnifiedEditorQuery,     // Open query for event type
       
    69     EESMRCmdOpenMultiCalenSelectQuery,        // Open query for multi calen selection dialog
       
    70 
       
    71     /**
       
    72      * Tracking view commands
       
    73      */
       
    74     EESMRCmdViewTrack,                  // Show tracking view
       
    75     EESMRCmdCall,                       // Call the selected participant
       
    76     EESMRCmdBack,                       // Back to previos dialog
       
    77 
       
    78     /**
       
    79      * Calendar Entry UI Specific commands
       
    80      */
       
    81     EESMRCmdCalEntryUIDelete,           // Delete calendar entry item
       
    82     EESMRCmdCalEntryUISend,             // Send calendar entry item
       
    83     EESMRCmdCalEntryUIEdit,             // Edit calendar entry item
       
    84     EESMRCmdCalEntryUIAddParticipants,  // Add participants to meeting item
       
    85     EESMRCmdCalEntryUISave,             // Sace calendar entry item
       
    86 
       
    87     /**
       
    88      * MRUI Attachment specific commands
       
    89      */
       
    90     EESMRAcceptWithoutAttachmentCheck,          // Accept MR without attachment check
       
    91     EESMRTentativeWithoutAttachmentCheck,       // Tentative MR without attachment check
       
    92     EESMRDeclineWithoutAttachmentCheck,         // Decline MR without attachment check
       
    93     EESMRRemoveFromDbWithoutAttachmentCheck,    // Remove from calendar without attachment check
       
    94     EMRLaunchAttachmentContextMenu,             // Launch context menu for attachment field
       
    95     EMRCmdHideAttachmentIndicator,              // Hide attachment indicator from UI
       
    96    
       
    97     /**
       
    98      * Attendee field contact handling related
       
    99      */
       
   100     EESMRCmdAttendeeSoftkeySelect,
       
   101     EESMRCmdAttendeeSoftkeyCancel,
       
   102     EESMRCmdAttendeeInsertContact,
       
   103 
       
   104     EESMRCmdAttendeeRequiredEnabled,
       
   105     EESMRCmdAttendeeRequiredDisabled,
       
   106     EESMRCmdAttendeeOptionalEnabled,
       
   107     EESMRCmdAttendeeOptionalDisabled,
       
   108 
       
   109     /** Attachment field specific command */
       
   110     EESMRCmdMskOpenEmailAttachment,
       
   111 
       
   112     /**
       
   113      * MR Contact Action Plugin specific command
       
   114      * to notify that editor is inialized and ready
       
   115      * to be shown on screen
       
   116      * */
       
   117     EESMRCmdEditorInitializationComplete,
       
   118 
       
   119     /**
       
   120      * Location integration
       
   121      */
       
   122     EESMRCmdAddLocation,
       
   123     EESMRCmdAssignFromMap,
       
   124     EESMRCmdUpdateFromMap,
       
   125     EESMRCmdSearchFromContacts,
       
   126     EESMRCmdSearchFromMap,
       
   127     EESMRCmdShowOnMap,
       
   128     EESMRCmdPreviousLocations,
       
   129     EESMRCmdLandmarks,
       
   130     EESMRCmdDisableWaypointIcon,
       
   131     EESMRCmdEnableWaypointIcon,
       
   132 
       
   133     /**
       
   134      * Middle softkey restoration
       
   135      */
       
   136     EESMRCmdRestoreMiddleSoftKey,
       
   137 
       
   138     /**
       
   139      * Text size of field exceeded
       
   140      */
       
   141     EESMRCmdSizeExceeded,
       
   142 
       
   143     EESMRCmdLongtapDetected,
       
   144 
       
   145     /**
       
   146      * Attachment field
       
   147      */
       
   148     EESMRViewerOpenAttachment,
       
   149     EESMRViewerSaveAttachment,
       
   150     EESMRViewerOpenAndSaveAttachment,
       
   151     EESMRViewerSaveAllAttachments,
       
   152     EESMRViewerCancelAttachmentDownload,
       
   153     
       
   154     EESMREditorOpenAttachment,
       
   155     EESMREditorRemoveAttachment,
       
   156     EESMREditorRemoveAllAttachments,
       
   157     EESMREditorAddAttachment,
       
   158 
       
   159     /**
       
   160      * Unified editor commands
       
   161      */
       
   162     EMRCommandSwitchToMR,
       
   163     EMRCommandSwitchToMeeting,
       
   164     EMRCommandSwitchToMemo,
       
   165     EMRCommandSwitchToAnniversary,
       
   166     EMRCommandSwitchToTodo,
       
   167     EESMRCmdCalendarChange, //switch calendar
       
   168 
       
   169     /**
       
   170      * My Locations view commands
       
   171      */
       
   172     EMRCommandMyLocations,
       
   173     
       
   174     /**
       
   175      * Other commands
       
   176      */
       
   177     EMRDialogOptionsMenuExit,
       
   178 
       
   179     /**
       
   180      * Environment change
       
   181      */
       
   182     EMRCmdDoEnvironmentChange,
       
   183     
       
   184     /**
       
   185      * FS Email specific command range
       
   186      */
       
   187     //<cmail> Moved bit forward to avoid conflict with avkon.hrh/ProcessCommandL constant range
       
   188     EESMRFirstFSMailCommand = 0x1388,
       
   189     //</cmail>
       
   190     EESMRCCmdMailLast =       0x2000,
       
   191 
       
   192     /**
       
   193      * SendUI
       
   194      * this value comes from and is shared with CalenGlobalData component
       
   195      */
       
   196     EESMRCmdSendAs = 30000,
       
   197 
       
   198     /**
       
   199      * Action menu command items
       
   200      */
       
   201     EESMRCmdActionMenu = 999500,        // Action menu command
       
   202     EESMRCmdActionMenuFirst = 999501,   // First dynamic submenu command
       
   203     EESMRCmdActionMenuLast = 999600     // Last dynamic submenu command
       
   204     };
       
   205 
       
   206 /**
       
   207  * Enumeration for MR plugin commands.
       
   208  * Define mrplugin command ids after RECAL Calendar's last commands
       
   209  */
       
   210 enum TMRCalenPluginCommands
       
   211     {
       
   212     /**
       
   213      *Plugin Commands
       
   214      */
       
   215     EMRPluginCommandBase = ECalenLastCommand,   // Last TCalenCommandId
       
   216     EMRLaunchMeetingViewer                       // Use meeting viewer to open entry
       
   217     };
       
   218 
       
   219 #endif // ESMRCOMMANDS_H
       
   220 
       
   221 // EOF