emailuis/emailui/inc/FreestyleEmailUiMailViewerConstants.h
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Message viewer constants for FS Email UI
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __FREESTYLEEMAILVIEWERCONSTANTS_H__
       
    20 #define __FREESTYLEEMAILVIEWERCONSTANTS_H__
       
    21 
       
    22 #include <e32keys.h>
       
    23 
       
    24 static const TInt KPlainTextLimitationInChars = 153600;
       
    25 
       
    26 static const TInt KAnimationRefreshTimeIntervalInMilliseconds = 2000;
       
    27 static const TInt KDownloadProgreeNoteHideDelay = 1000;
       
    28 
       
    29 _LIT( KThreeLines,"---");
       
    30 static const TInt KNumberOfLines = 3;
       
    31 static const TInt KTotalNumberOfLines = 9;
       
    32 
       
    33 const TInt KKeyCodeArtificialScrollUp = EKeyF13;
       
    34 const TInt KKeyCodeArtificialScrollDown = EKeyF14;
       
    35 
       
    36 // Media player UID, for opening rtsp links
       
    37 static const TUid KUidMediaPlayer = { 0x10005A3E };
       
    38 
       
    39 // Prefixes
       
    40 _LIT( KUrlPrefixIdentifier, "://");
       
    41 _LIT( KHttpUrlPrefix, "http://");
       
    42 _LIT( KMailtoPrefix, "mailto:");
       
    43 _LIT( KRtspUrlPrefix, "rtsp://");
       
    44 _LIT( KCallPrefix, "call:");
       
    45 _LIT( KTelPrefix, "tel:");
       
    46 _LIT( KSmsPrefix, "sms:");
       
    47 _LIT( KMmsPrefix, "mms:");
       
    48 _LIT( KVoipPrefix, "sip:");
       
    49 
       
    50 #endif