--- a/adaptationlayer/tsy/nokiatsy_dll/inc/cmmstaticutility.h Fri Jan 22 10:04:04 2010 +0200
+++ b/adaptationlayer/tsy/nokiatsy_dll/inc/cmmstaticutility.h Wed Feb 17 13:58:55 2010 +0200
@@ -63,6 +63,10 @@
// Call Life Timer index value for PMM. Reserver index '1'.
const TUint16 KCallLifeTimerPmmIndexValue = 0x0001;
+const TUint8 KSw1Index = 0x00;
+const TUint8 KSw2Index = 0x01;
+const TUint8 KResultIndex = 0x02;
+
// MACROS
// None
@@ -267,6 +271,18 @@
TInt aIndex ); //Index
/**
+ * Maps sw1, sw2 and result to client specific error value
+ * @param aSw1: sw1 to be mapped
+ * @param aSw2: sw2 to be mapped
+ * @param aResult: result to be mapped
+ * @return TInt: mapped error value
+ */
+ static TInt MapSw1Sw2ToEpocError(
+ const TUint8 aSw1,
+ const TUint8 aSw2,
+ const TUint8 aResult );
+
+ /**
* Set value for oper info
* THIS IS ONLY FOR WINSCW TESTING USE
*/