diff -r 77f7846f839d -r 444fb3c6f233 telephonyserverplugins/simtsy/inc/CSimPacketContext.h --- a/telephonyserverplugins/simtsy/inc/CSimPacketContext.h Mon Mar 08 21:44:33 2010 +0000 +++ b/telephonyserverplugins/simtsy/inc/CSimPacketContext.h Sun Mar 14 13:14:01 2010 +0000 @@ -34,6 +34,10 @@ #include 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