mobilemessaging/audiomsg/inc/audiomessage.hrh
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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 headers for project audiomessage
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __AUDIOMESSAGE_HRH
       
    21 #define __AUDIOMESSAGE_HRH
       
    22 
       
    23 /** for BaseEditor definitions */
       
    24 #include <MsgEditor.hrh>
       
    25 
       
    26 enum TMmsEditorCommandIds
       
    27     {
       
    28     EAmsCmdDoNothing = 1, 
       
    29     EAmsEditorCmdSend,
       
    30     EAmsEditorCmdAddRecipient,
       
    31     EAmsEditorCmdSaveAudio,
       
    32 	EAmsEditorCmdPlayAudio,
       
    33    	EAmsEditorSubmenuInsertAudioCommands,
       
    34     EAmsEditorSubmenuReplaceAudioCommands,
       
    35     EAmsEditorCmdMessageInfo,
       
    36     EAmsEditorCmdChangePriority,
       
    37     EAmsViewerCmdRemoveAudio,
       
    38    	EAmsViewerCmdSubmenuReply,
       
    39     EAmsViewerCmdForward,
       
    40     EAmsViewerCmdSaveAudio,
       
    41     EAmsViewerCmdDeliveryStatus,
       
    42     EAmsViewerCmdMoveToFolder,
       
    43     EAmsSubmenuZoomCommands,
       
    44 	/** reply submenu */
       
    45     EAmsViewerCmdReplyToSender,
       
    46     EAmsViewerCmdReplyToAll,
       
    47     EAmsViewerCmdReplyViaSMS,
       
    48     EAmsViewerCmdReplyViaMMS,
       
    49     EAmsViewerCmdReplyViaMessage,
       
    50 	/** insert submenu */
       
    51    	EAmsEditorCmdFromGallery,
       
    52    	EAmsEditorCmdReRecordAudio,
       
    53    	EAmsEditorCmdRecordAudio,
       
    54    	EAmsEditorCmdFromGallery2,
       
    55 	/** progress dlg */
       
    56     EVoiceProgressNoteId,
       
    57     EAmsSoftkeyPause,
       
    58     EAmsSoftkeyStop,
       
    59     EAmsSoftkeyContinue,
       
    60     EAmsSoftkeyToLoudspeaker,
       
    61     EAmsSoftkeyToEarpiece,
       
    62     EAmsSoftkeyAdd,
       
    63     EAmsSoftkeyRecord,
       
    64     EAmsSoftkeyPlay,
       
    65     EAmsFileEnd,
       
    66     
       
    67     //Text zooming
       
    68     EAmsDispSizeAutomatic,
       
    69     EAmsDispSizeLarge,
       
    70     EAmsDispSizeNormal,
       
    71     EAmsDispSizeSmall,
       
    72     
       
    73     //Permantent touch toolbar
       
    74     EAmsViewerToolbarReply,       
       
    75     EAmsViewerToolbarForward,       
       
    76     EAmsViewerToolbarDelete, 
       
    77     EAmsEditorToolbarSend,
       
    78     EAmsEditorToolbarRecord,
       
    79     EAmsEditorToolbarAddRecipient
       
    80     };
       
    81 
       
    82 enum TAmsEditorNoteIds
       
    83     {
       
    84     EAmsWaitNoteId = 1
       
    85     };
       
    86     
       
    87 enum TAmsViewerReplyViaIds
       
    88 	{
       
    89 	EReplyToSender,
       
    90 	EReplyToAll,
       
    91 	EReplyViaSMS,
       
    92 	EReplyViaMMS,
       
    93 	EReplyViaMessage	
       
    94 	};    
       
    95 
       
    96 
       
    97 enum TAmsUiMessageType
       
    98     {
       
    99     EAmsReadOnly = 0,
       
   100     EAmsNewMessage,
       
   101     EAmsOpenFromDraft,
       
   102     EAmsReply,
       
   103     EAmsForward,
       
   104     EAmsSendAs,
       
   105     EAmsSent,
       
   106     EAmsEdit,
       
   107     EAmsInbox
       
   108     };
       
   109     
       
   110 enum TAmsSenderType
       
   111     {
       
   112     ESenderTypePhoneNumber,
       
   113     ESenderTypeMailAddress,
       
   114     ESenderTypeNone
       
   115     };
       
   116 
       
   117 /** for icon status */
       
   118 enum TAmsRecordIconStatus
       
   119 	{
       
   120 	EAudioInsert =0,
       
   121 	EAudioInserted,
       
   122 	EAudioCorrupted	
       
   123 	};
       
   124 
       
   125 /** attachments status */
       
   126 enum TAmsInsertedStatus
       
   127 {
       
   128 	EAmsNone=0,
       
   129 	EAmsRecorded,
       
   130 	EAmsFetched,
       
   131 	EAmsInsideMessage,
       
   132 	EAmsSmilAdded
       
   133 };
       
   134 
       
   135 /** mode of application */
       
   136 enum TAmsAppStatus
       
   137 {
       
   138 	EAmsEditor=0,
       
   139 	EAmsViewer
       
   140 };
       
   141 
       
   142 enum TAmsClipStatus
       
   143 {
       
   144 	EAmsClipNone=0,
       
   145 	EAmsClipFromGallery,
       
   146 	EAmsClipFromRecorder,
       
   147 	EAmsClipAttachment,
       
   148 	EAmsClipCorrupted
       
   149 };
       
   150 
       
   151 
       
   152 /** panics of application */
       
   153 enum TAmsEditorPanic
       
   154     {
       
   155     EAmsNullPointer = 0,
       
   156     EAmsNoMessage,
       
   157     EAmsUnsupportedCommand,
       
   158     EAmsUnknownMenuOption,
       
   159     EAmsIllegalAddress,
       
   160     EAmsSendWithoutRecipients,
       
   161     EAmsEntryNotInDraftFolder,
       
   162     EAmsIllegalMediaObject,
       
   163     EAmsIllegalMsgSize,
       
   164     EAmsIllegalMsgSizeLimit,
       
   165     EAmsIllegalSendingOptions,
       
   166     EAmsIllegalArgument,
       
   167     EAmsIllegalMessageType,
       
   168     EAmsCannotInsert
       
   169     };
       
   170 
       
   171 enum TAmsOperationType
       
   172     {
       
   173     EAmsOperationInsert,
       
   174     EAmsOperationLaunch,
       
   175     EAmsOperationSave,
       
   176     EAmsOperationSend,
       
   177     EAmsOperationRemove,
       
   178     EAmsOperationSetDuration,
       
   179     EAmsOperationSendReadReport   
       
   180     };
       
   181 
       
   182 enum TAmsOperationEvent
       
   183 	{
       
   184 	EAmsOperationProcessing,
       
   185 	EAmsOperationComplete,
       
   186     EAmsOperationError
       
   187 	};
       
   188 
       
   189 enum TAmsOperationErrors
       
   190     {
       
   191     EAmsExit = 1,
       
   192     EAmsSendUiUnsupported,
       
   193     EAmsSendUiCorrupted,
       
   194     EAmsProtectedObject,
       
   195     EAmsInsertTooBig,
       
   196     EAmsInsertNotSupported,
       
   197     EAmsMultipleFiles
       
   198     
       
   199     };
       
   200 
       
   201    
       
   202 #endif  // __AUDIOMESSAGE_HRH
       
   203