testexecfw/useremul/inc/Constants.h
changeset 0 3e07fef1e154
equal deleted inserted replaced
-1:000000000000 0:3e07fef1e154
       
     1 /*------------------------------------------------------------------
       
     2  -
       
     3  * Software Name : UserEmulator
       
     4  * Version       : v4.2.1309
       
     5  * 
       
     6  * Copyright (c) 2009 France Telecom. All rights reserved.
       
     7  * This software is distributed under the License 
       
     8  * "Eclipse Public License - v 1.0" the text of which is available
       
     9  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    10  *
       
    11  * Initial Contributors:
       
    12  * France Telecom 
       
    13  *
       
    14  * Contributors:
       
    15  *------------------------------------------------------------------
       
    16  -
       
    17  * File Name: Constants.h
       
    18  * 
       
    19  * Created: 13/08/2009
       
    20  * Author(s): Marcell Kiss
       
    21  *   
       
    22  * Description:
       
    23  * Constant container file
       
    24  *------------------------------------------------------------------
       
    25  -
       
    26  *
       
    27  */
       
    28 
       
    29 #ifndef CONSTANTS_H_
       
    30 #define CONSTANTS_H_
       
    31 
       
    32 /**
       
    33  * Buffer constants
       
    34  */
       
    35 const TInt KBuffer8 = 8;
       
    36 const TInt KBuffer10 = 10;
       
    37 const TInt KBuffer12 = 12;
       
    38 const TInt KBuffer20 = 20;
       
    39 const TInt KBuffer32 = 32;
       
    40 const TInt KBuffer64 = 64;
       
    41 const TInt KBuffer100 = 100;
       
    42 const TInt KBuffer128 = 128;
       
    43 const TInt KBuffer200 = 200;
       
    44 const TInt KBuffer256 = 256;
       
    45 const TInt KBuffer512 = 512;
       
    46 const TInt KBuffer540 = 540;
       
    47 const TInt KBuffer1024 = 1024;
       
    48 /**
       
    49  * General constants
       
    50  */
       
    51 _LIT(KN,"");
       
    52 _LIT(KHEX,"0x");
       
    53 _LIT(K0x,"0x%x");
       
    54 _LIT(KNEWLINE, "\n");
       
    55 _LIT(KComma, ",");
       
    56 _LIT(KIDLE, "Should not be idle");
       
    57 _LIT(KPATHDELIM, "\\\\");
       
    58 _LIT(KDRIVEDEL, ":\\");
       
    59 _LIT(KEmptyItemText, "(none)");
       
    60 _LIT(KBsh,"\\");
       
    61 _LIT(KDOT, ".");
       
    62 _LIT(KCSVEXT,".csv");
       
    63 _LIT(KXMLEXT,".xml");
       
    64 _LIT(KEMPTYTEXT,"0");
       
    65 _LIT(KSPACE," ");
       
    66 _LIT(KSLASHR,"/r");
       
    67 
       
    68 _LIT(KMinus1,"-1");
       
    69 _LIT8(KInfinite,"infinite");
       
    70 /**
       
    71  * UIDs
       
    72  */
       
    73 const TUid KUidMenu =           { 0x101f4cd2 };
       
    74 const TUid KUidPanicCapturer =  { 0x2001C3A9 };
       
    75 const TUid KUidHomeScreen =     { 0x102750f0 };
       
    76 const TUid KUidAknCapServer =   { 0x10207218 };
       
    77 const TUid KUidAknnfySrv =      { 0x10281ef2 };
       
    78 const TUid KUidPenInputSrv =    { 0x10281855 };
       
    79 const TUid KUidTelephony =      { 0x100058b3 };
       
    80 const TUid KUidCamera =         { 0x101f857a };
       
    81 /**
       
    82  * Time constants
       
    83  */
       
    84 const TInt KWait2 = 2000000;
       
    85 const TInt KWait1 = 1000000;
       
    86 const TInt KWait08 = 800000;
       
    87 const TInt KWait05 = 500000;
       
    88 const TInt KWait03 = 300000;
       
    89 const TInt KWait02 = 200000;
       
    90 const TInt KWait01 = 100000;
       
    91 const TInt KWait005 = 50000;
       
    92 const TInt KWait001 = 10000;
       
    93 /**
       
    94  * Manufacturer constants
       
    95  */
       
    96 const TInt KManufacturerNokia =         2;
       
    97 const TInt KManufacturerSamsung =       270499451;
       
    98 const TInt KManufacturerSonyEricsson =  270494957;
       
    99 
       
   100 #endif /* CONSTANTS_H_ */