meetingrequest/mrcommon/inc/esmrcommands.h
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    17 
    17 
    18 #ifndef ESMRCOMMANDS_H
    18 #ifndef ESMRCOMMANDS_H
    19 #define ESMRCOMMANDS_H
    19 #define ESMRCOMMANDS_H
    20 
    20 
    21 #include <avkon.hrh>
    21 #include <avkon.hrh>
       
    22 #include <calencommands.hrh>
    22 
    23 
    23 /**
    24 /**
    24  * Enumeration for ES MR commands.
    25  * Enumeration for ES MR commands.
    25  * Define ES email command ids after enumaration value
    26  * Define ES email command ids after enumaration value
    26  * EESMRFirstFSMailCommand.
    27  * EESMRFirstFSMailCommand.
    34     EESMRCmdDeleteMR,                    // Deletes MR
    35     EESMRCmdDeleteMR,                    // Deletes MR
    35     EESMRCmdRemoveFromCalendar,          // Removes cancelled MR from calendar
    36     EESMRCmdRemoveFromCalendar,          // Removes cancelled MR from calendar
    36     EESMRCmdSendMR,                      // Send Meeting request
    37     EESMRCmdSendMR,                      // Send Meeting request
    37     EESMRCmdSendMRUpdate,                // Send MR update
    38     EESMRCmdSendMRUpdate,                // Send MR update
    38     EESMRCmdSaveMR,                      // Save MR
    39     EESMRCmdSaveMR,                      // Save MR
       
    40     EESMRCmdSaveCloseMR,				 // Save and Close MR
    39     EESMRCmdEdit,                        // Edit MR
    41     EESMRCmdEdit,                        // Edit MR
    40     EESMRCmdEditLocal,                   // Locally edit meeting request
    42     EESMRCmdEditLocal,                   // Locally edit meeting request
    41     EESMRCmdReply,                       // Reply to one recipient
    43     EESMRCmdReply,                       // Reply to one recipient
    42     EESMRCmdReplyAll,                    // Reply to all recipients
    44     EESMRCmdReplyAll,                    // Reply to all recipients
    43     EESMRCmdForwardAsMeeting,            // Forward MR as meeting
    45     EESMRCmdForwardAsMeeting,            // Forward MR as meeting
    48     EESMRCmdPriorityNormal,              // Mark MR with 'normal' priority
    50     EESMRCmdPriorityNormal,              // Mark MR with 'normal' priority
    49     EESMRCmdPriorityLow,                 // Mark MR with 'low' priority
    51     EESMRCmdPriorityLow,                 // Mark MR with 'low' priority
    50     EESMRCmdPriorityOptions,             // Cascade menu command for priority options
    52     EESMRCmdPriorityOptions,             // Cascade menu command for priority options
    51     EESMRCmdAddAttendees,                // add attendees to meeting
    53     EESMRCmdAddAttendees,                // add attendees to meeting
    52     EESMRCmdShowAllAttendees,            // show all attendees of attendee viever field
    54     EESMRCmdShowAllAttendees,            // show all attendees of attendee viever field
    53     EESMRCmdForward,                     // Forward MR
    55     EESMRCmdForwardOptions,              // Cascade menu command for forward options
    54     EESMRCmdForceExit,                   // Exit without saving
    56     EESMRCmdForceExit,                   // Exit without saving
    55     EESMRCmdAlarmOn,
    57     EESMRCmdAlarmOn,
    56     EESMRCmdAlarmOff,
    58     EESMRCmdAlarmOff,
    57     EESMRCmdOpenPriorityQuery,
    59     EESMRCmdOpenPriorityQuery,
    58     EESMRCmdOpenSyncQuery,
    60     EESMRCmdOpenSyncQuery,
    59     EESMRCmdOpenRecurrenceQuery,
    61     EESMRCmdOpenRecurrenceQuery,
    60     EESMRCmdOpenAlarmQuery,
    62     EESMRCmdOpenAlarmQuery,
    61     EESMRCmdOpenLocationContextMenu,
    63     EESMRCmdOpenLocationContextMenu,
    62     EESMRCmdCheckEvent,
    64     EESMRCmdCheckEvent,
    63     EESMRCmdClipboardCopy,				// Copy to clipboard in viewer options menu
    65     EESMRCmdClipboardCopy,              // Copy to clipboard in viewer options menu
    64     EESMRCmdTodoMarkAsDone,			    // todoviewer options menu
    66     EESMRCmdTodoMarkAsDone,             // todoviewer options menu
    65     EESMRCmdTodoMarkAsNotDone,			// todoviewer options menu
    67     EESMRCmdTodoMarkAsNotDone,          // todoviewer options menu
    66 
    68     EESMRCmdOpenUnifiedEditorQuery,     // Open query for event type
    67     /** 
    69     EESMRCmdOpenMultiCalenSelectQuery,        // Open query for multi calen selection dialog
       
    70 
       
    71     /**
    68      * Tracking view commands
    72      * Tracking view commands
    69      */
    73      */
    70     EESMRCmdViewTrack,					// Show tracking view
    74     EESMRCmdViewTrack,                  // Show tracking view
    71     EESMRCmdCall,						// Call the selected participant
    75     EESMRCmdCall,                       // Call the selected participant
    72     EESMRCmdBack,						// Back to previos dialog
    76     EESMRCmdBack,                       // Back to previos dialog
    73 
    77 
    74     /**
    78     /**
    75      * Calendar Entry UI Specific commands
    79      * Calendar Entry UI Specific commands
    76      */
    80      */
    77     EESMRCmdCalEntryUIDelete,           // Delete calendar entry item
    81     EESMRCmdCalEntryUIDelete,           // Delete calendar entry item
    85      */
    89      */
    86     EESMRAcceptWithoutAttachmentCheck,          // Accept MR without attachment check
    90     EESMRAcceptWithoutAttachmentCheck,          // Accept MR without attachment check
    87     EESMRTentativeWithoutAttachmentCheck,       // Tentative MR without attachment check
    91     EESMRTentativeWithoutAttachmentCheck,       // Tentative MR without attachment check
    88     EESMRDeclineWithoutAttachmentCheck,         // Decline MR without attachment check
    92     EESMRDeclineWithoutAttachmentCheck,         // Decline MR without attachment check
    89     EESMRRemoveFromDbWithoutAttachmentCheck,    // Remove from calendar without attachment check
    93     EESMRRemoveFromDbWithoutAttachmentCheck,    // Remove from calendar without attachment check
    90 
    94     EMRLaunchAttachmentContextMenu,             // Launch context menu for attachment field
       
    95     EMRCmdHideAttachmentIndicator,              // Hide attachment indicator from UI
       
    96    
    91     /**
    97     /**
    92      * Attendee field contact handling related
    98      * Attendee field contact handling related
    93      */
    99      */
    94     EESMRCmdAttendeeSoftkeySelect,
   100     EESMRCmdAttendeeSoftkeySelect,
    95     EESMRCmdAttendeeSoftkeyCancel,
   101     EESMRCmdAttendeeSoftkeyCancel,
   100     EESMRCmdAttendeeOptionalEnabled,
   106     EESMRCmdAttendeeOptionalEnabled,
   101     EESMRCmdAttendeeOptionalDisabled,
   107     EESMRCmdAttendeeOptionalDisabled,
   102 
   108 
   103     /** Attachment field specific command */
   109     /** Attachment field specific command */
   104     EESMRCmdMskOpenEmailAttachment,
   110     EESMRCmdMskOpenEmailAttachment,
   105     
   111 
   106     /**
   112     /**
   107      * MR Contact Action Plugin specific command
   113      * MR Contact Action Plugin specific command
   108      * to notify that editor is inialized and ready
   114      * to notify that editor is inialized and ready
   109      * to be shown on screen
   115      * to be shown on screen
   110      * */
   116      * */
   111     EESMRCmdEditorInitializationComplete,    
   117     EESMRCmdEditorInitializationComplete,
   112 
   118 
   113     /**
   119     /**
   114      * Location integration
   120      * Location integration
   115      */
   121      */
   116     EESMRCmdAddLocation,
   122     EESMRCmdAddLocation,
   121     EESMRCmdShowOnMap,
   127     EESMRCmdShowOnMap,
   122     EESMRCmdPreviousLocations,
   128     EESMRCmdPreviousLocations,
   123     EESMRCmdLandmarks,
   129     EESMRCmdLandmarks,
   124     EESMRCmdDisableWaypointIcon,
   130     EESMRCmdDisableWaypointIcon,
   125     EESMRCmdEnableWaypointIcon,
   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,
   126     
   153     
   127     /**
   154     EESMREditorOpenAttachment,
   128      * Middle softkey restoration 
   155     EESMREditorRemoveAttachment,
   129      */
   156     EESMREditorRemoveAllAttachments,
   130     EESMRCmdRestoreMiddleSoftKey,
   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,
   131     
   173     
   132     /**
   174     /**
   133      * Text size of field exceeded
   175      * Other commands
   134      */
   176      */
   135     EESMRCmdSizeExceeded,
   177     EMRDialogOptionsMenuExit,
       
   178 
       
   179     /**
       
   180      * Environment change
       
   181      */
       
   182     EMRCmdDoEnvironmentChange,
   136     
   183     
   137     /**
   184     /**
   138      * FS Email specific command range
   185      * FS Email specific command range
   139      */
   186      */
   140     //<cmail> Moved bit forward to avoid conflict with avkon.hrh/ProcessCommandL constant range
   187     //<cmail> Moved bit forward to avoid conflict with avkon.hrh/ProcessCommandL constant range
   147      * this value comes from and is shared with CalenGlobalData component
   194      * this value comes from and is shared with CalenGlobalData component
   148      */
   195      */
   149     EESMRCmdSendAs = 30000,
   196     EESMRCmdSendAs = 30000,
   150 
   197 
   151     /**
   198     /**
   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
   199      * Action menu command items
   163      */
   200      */
   164     EESMRCmdActionMenu = 999500,        // Action menu command
   201     EESMRCmdActionMenu = 999500,        // Action menu command
   165     EESMRCmdActionMenuFirst = 999501,   // First dynamic submenu command
   202     EESMRCmdActionMenuFirst = 999501,   // First dynamic submenu command
   166     EESMRCmdActionMenuLast = 999600     // Last dynamic submenu command
   203     EESMRCmdActionMenuLast = 999600     // Last dynamic submenu command
   167     };
   204     };
   168 
   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 
   169 #endif // ESMRCOMMANDS_H
   219 #endif // ESMRCOMMANDS_H
   170 
   220 
   171 // EOF
   221 // EOF