telephonyserverplugins/simtsy/inc/CSimPacketContext.h
changeset 19 1f776524b15c
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
--- a/telephonyserverplugins/simtsy/inc/CSimPacketContext.h	Tue Feb 02 01:41:59 2010 +0200
+++ b/telephonyserverplugins/simtsy/inc/CSimPacketContext.h	Fri Mar 19 09:55:57 2010 +0200
@@ -34,6 +34,10 @@
 #include <ctsy/serviceapi/cmmutility.h>
 
 const TUint KNotFound=0xfffffff;
+const TInt KLimitForErrorCodeForContextGoToInactive=-700;
+const TInt KContextGoToInactiveWithNormalErrorCode=-600;
+const TInt KContextGoToInactiveWithExtendedErrorCode=-400;
+const TInt KContextGoToInactiveWithErrorWhenTryingToGetLastErrorCode = -300;
 
 enum TContextEvent //< Enum for the state machine
 	{
@@ -454,6 +458,9 @@
 	virtual void TimerCallBack(TInt aId);
 	TCommSetupItem FindCommSettings();
 
+private:
+    TInt iLastError;
+    TInt iErrorCodeForGetLastErrorCause;
 	};
 
 #endif