telephonyserverplugins/simtsy/inc/CSimPacketContext.h
branchRCL_3
changeset 9 962e6306d9d2
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
0:3553901f7fa8 9:962e6306d9d2
    32 #include "CSimPubSubChange.h"
    32 #include "CSimPubSubChange.h"
    33 #include "CSimPhone.h"
    33 #include "CSimPhone.h"
    34 #include <ctsy/serviceapi/cmmutility.h>
    34 #include <ctsy/serviceapi/cmmutility.h>
    35 
    35 
    36 const TUint KNotFound=0xfffffff;
    36 const TUint KNotFound=0xfffffff;
       
    37 const TInt KLimitForErrorCodeForContextGoToInactive=-700;
       
    38 const TInt KContextGoToInactiveWithNormalErrorCode=-600;
       
    39 const TInt KContextGoToInactiveWithExtendedErrorCode=-400;
       
    40 const TInt KContextGoToInactiveWithErrorWhenTryingToGetLastErrorCode = -300;
    37 
    41 
    38 enum TContextEvent //< Enum for the state machine
    42 enum TContextEvent //< Enum for the state machine
    39 	{
    43 	{
    40 	EContextEventNone,
    44 	EContextEventNone,
    41 	EContextEventActivate,
    45 	EContextEventActivate,
   452 	
   456 	
   453 	CArrayFixFlat<TCommSetupItem>* iCommSetupArray;
   457 	CArrayFixFlat<TCommSetupItem>* iCommSetupArray;
   454 	virtual void TimerCallBack(TInt aId);
   458 	virtual void TimerCallBack(TInt aId);
   455 	TCommSetupItem FindCommSettings();
   459 	TCommSetupItem FindCommSettings();
   456 
   460 
       
   461 private:
       
   462     TInt iLastError;
       
   463     TInt iErrorCodeForGetLastErrorCause;
   457 	};
   464 	};
   458 
   465 
   459 #endif
   466 #endif