mobilemessaging/unieditor/inc/UniEditorConsts.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2005 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: UniEditorConsts  declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19  
       
    20 #ifndef __UNIEDITORCONSTS_H
       
    21 #define __UNIEDITORCONSTS_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 // CONSTANTS
       
    26 
       
    27 //-----------------------------------------------
       
    28 // Flag bits in iMtmData1
       
    29 // The default value for all bits is 0
       
    30 //-----------------------------------------------
       
    31 
       
    32 const TUint32 KUniMessageCurrentTypeMask =    0x00000003;
       
    33 const TUint32 KUniMessageCharSetSupportMask = 0x0000000C;
       
    34 const TInt KUniMessageCharSetSupportShift = 2;
       
    35 
       
    36 const TUint32 KUniMessageTypeLocked =         0x00000010;
       
    37 const TUint32 KUniMessageForwarded =          0x00000020;
       
    38 const TUint32 KUniMessageEditorOriented =     0x00000040;
       
    39 
       
    40 // DATA TYPES
       
    41 
       
    42 enum TUniMessageCurrentType
       
    43     {
       
    44     EUniMessageCurrentTypeSms = 0,
       
    45     EUniMessageCurrentTypeMms,
       
    46     EUniMessageCurrentTypeReserved1,
       
    47     EUniMessageCurrentTypeReserved2
       
    48     };
       
    49 
       
    50 
       
    51 enum TUniMessageCharSetSupport
       
    52     {
       
    53     EUniMessageCharSetFull = 0,
       
    54     EUniMessageCharSetReduced,
       
    55     EUniMessageCharSetFullLocked,
       
    56     EUniMessageCharSetReducedLocked
       
    57     };
       
    58 
       
    59 #endif      // __UNIEDITORCONSTS_H
       
    60             
       
    61 // End of File