adaptationlayer/tsy/nokiatsy_dll/inc/cmmstaticutility.h
changeset 7 fa67e03b87df
parent 5 8ccc39f9d787
child 8 6295dc2169f3
equal deleted inserted replaced
6:942573423a60 7:fa67e03b87df
    61 // NITZ Name index value for PMM. Reserved index '0'.
    61 // NITZ Name index value for PMM. Reserved index '0'.
    62 const TUint16 KNitzNamePmmIndexValue = 0x0000;
    62 const TUint16 KNitzNamePmmIndexValue = 0x0000;
    63 // Call Life Timer index value for PMM. Reserver index '1'.
    63 // Call Life Timer index value for PMM. Reserver index '1'.
    64 const TUint16 KCallLifeTimerPmmIndexValue = 0x0001;
    64 const TUint16 KCallLifeTimerPmmIndexValue = 0x0001;
    65 
    65 
       
    66 const TUint8 KSw1Index = 0x00;
       
    67 const TUint8 KSw2Index = 0x01;
       
    68 const TUint8 KResultIndex = 0x02;
       
    69 
    66 // MACROS
    70 // MACROS
    67     // None
    71     // None
    68 
    72 
    69 // DATA TYPES
    73 // DATA TYPES
    70     // None
    74     // None
   263         * @return TInt
   267         * @return TInt
   264         */
   268         */
   265         static TInt Get16Bit(
   269         static TInt Get16Bit(
   266             const TDesC8& aSource, //Source
   270             const TDesC8& aSource, //Source
   267             TInt aIndex );         //Index
   271             TInt aIndex );         //Index
       
   272 
       
   273         /**
       
   274         * Maps sw1, sw2 and result to client specific error value
       
   275         * @param aSw1: sw1 to be mapped
       
   276         * @param aSw2: sw2 to be mapped
       
   277         * @param aResult:  result to be mapped
       
   278         * @return TInt: mapped error value
       
   279         */
       
   280         static TInt MapSw1Sw2ToEpocError( 
       
   281             const TUint8 aSw1, 
       
   282             const TUint8 aSw2, 
       
   283             const TUint8 aResult );
   268 
   284 
   269         /**
   285         /**
   270         * Set value for oper info
   286         * Set value for oper info
   271         * THIS IS ONLY FOR WINSCW TESTING USE
   287         * THIS IS ONLY FOR WINSCW TESTING USE
   272         */
   288         */