mobilemessaging/mmsui/notviewerinc/NotViewer.hrh
changeset 79 2981cb3aa489
parent 0 72b543305e3a
equal deleted inserted replaced
25:84d9eb65b26f 79:2981cb3aa489
       
     1 /*
       
     2 * Copyright (c) 2002 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:  
       
    15 *     contains common definitions for menu id:s
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __NOTVIEWER_HRH__
       
    22 #define __NOTVIEWER_HRH__
       
    23 
       
    24 #include <MsgEditor.hrh>            // EMsgFirstFreeComponentSpecificCommand
       
    25 
       
    26 enum TNotViewerMenuCommands // Menu IDs
       
    27 	{
       
    28     ENotViewerRetrieve = EMsgFirstFreeComponentSpecificCommand,
       
    29 	ENotViewerForward,
       
    30 	ENotViewerSend,
       
    31 	ENotViewerAddRecipient,
       
    32 	ENotViewerCheckNames,
       
    33 	ENotViewerReplyMenu,
       
    34 	ENotViewerReplyViaMessage,
       
    35     // audio: run time variated
       
    36     ENotViewerReplyViaAudio,
       
    37 	ENotViewerReplyViaMail,
       
    38 	ENotViewerDelete,
       
    39 	ENotViewerMessageDetails,
       
    40     ENotViewerSubmenuZoomCommands,
       
    41 	ENotViewerToolbarRetrieve,
       
    42 	ENotViewerToolbarReply,
       
    43 	ENotViewerToolbarDelete,
       
    44 	ENotViewerToolbarSend,
       
    45 	ENotViewerToolbarAdd,
       
    46 	ENotViewerFirstFreeCmdId // SendAs
       
    47 	};
       
    48 
       
    49 enum TNotViewerFlags
       
    50 	{
       
    51 	ENotViewerFlagsHelp			= 1,		// Is help supported
       
    52 	ENotViewerAutoFind			= 2,		// Is autofind supported
       
    53 	ENotViewerIsNotFirstItem	= 4,
       
    54 	ENotViewerIsNotification	= 8,		// Do we have notif or Fr open
       
    55     // KFeatureIdMmsNonDestructiveForward has been deprecated
       
    56     // Check of TMsvEntry::iMtmData2 & KMmsStoredInMMBox replaces it. 
       
    57     // MMSEngine sets KMmsStoredInMMBox for received notifications
       
    58 	// ENotViewerMultipleForwardSupported = 16, // Does forward delete the msg from server
       
    59 	ENotViewerDeleteBoth		= 16,		// Have we selected delete both
       
    60 	ENotViewerOffline			= 32,		// Is phone offline now
       
    61 	ENotViewerAudioMessaging    = 0x100,	// Is audio messaging supported
       
    62 	ENotViewerRestrictedReply   = 0x200		// Locked to MMS. No other reply types are possible
       
    63 	};
       
    64 
       
    65 enum TNotViewerExceptions	// Panics
       
    66 	{
       
    67 	ENotViewerOperationNotFinished
       
    68 	};
       
    69 
       
    70 enum TNotViewerStatus
       
    71 	{
       
    72 	ENotViewerStatusNull		= 0,
       
    73 	ENotViewerStatusFailed		= 1,
       
    74 	ENotViewerStatusExpired		= 2,
       
    75 	ENotViewerStatusForwarding	= 3,
       
    76 	ENotViewerStatusForwarded	= 4,
       
    77 	ENotViewerStatusWaiting		= 5
       
    78 	};
       
    79 
       
    80 #endif // __NOTVIEWER_HRH__