telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstatechangingtft.cpp
changeset 73 70d75957b98f
parent 44 8b72faa1200f
equal deleted inserted replaced
69:b982c3e940f3 73:70d75957b98f
    32 #include "pdpfsmnmspace.h"
    32 #include "pdpfsmnmspace.h"
    33 #include "cpdpfsm.h"
    33 #include "cpdpfsm.h"
    34 
    34 
    35 TInt TPdpStateChangingTFT::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode)
    35 TInt TPdpStateChangingTFT::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode)
    36 {
    36 {
    37 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGTFT_INPUT_1, ">>TPdpStateChangingTFT::Input()");
       
    38 	OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGTFT_INPUT_2, "aOperation : %S(%d)", *(LogOperation(aFsm, aOperation)), aOperation);
       
    39 
       
    40 	switch (aOperation)
    37 	switch (aOperation)
    41 	{
    38 	{
    42 	case PdpFsm::ETftChanged:
    39 	case PdpFsm::ETftChanged:
    43 		aFsm.ChangeStateToOpen();
    40 		aFsm.ChangeStateToOpen();
    44 		SpudManNotify (aFsm, KContextTFTModifiedEvent, KErrNone);
    41 		SpudManNotify (aFsm, KContextTFTModifiedEvent, KErrNone);
    45 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGTFT_INPUT_3, "<<TPdpStateChangingTFT::Input()");
       
    46 		return KErrNone;
    42 		return KErrNone;
    47 	case PdpFsm::ETftChangedFailed:
    43 	case PdpFsm::ETftChangedFailed:
       
    44         OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGTFT_INPUT_1, "*** TFT CHANGE FAILED ***");
    48 		aFsm.ChangeStateToOpen();
    45 		aFsm.ChangeStateToOpen();
    49 		SpudManNotify (aFsm, KContextTFTModifiedEvent, aErrorCode);
    46 		SpudManNotify (aFsm, KContextTFTModifiedEvent, aErrorCode);
    50 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGTFT_INPUT_4, "<<TPdpStateChangingTFT::Input()");
       
    51 		return KErrNone;
    47 		return KErrNone;
    52 		
    48 		
    53 	// no default
    49 	// no default
    54 	}
    50 	}
    55 
    51 
    56 	// default error handling
    52 	// default error handling
    57 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGTFT_INPUT_5, "<<TPdpStateChangingTFT::Input()");
       
    58 	return TPdpState::Input(aFsm, aOperation, aErrorCode);
    53 	return TPdpState::Input(aFsm, aOperation, aErrorCode);
    59 }
    54 }
    60 
    55