contextframework/cfw/src/cfserver/cfphasebase.cpp
changeset 69 dcd4152cfe55
parent 0 2e3d3ce01487
equal deleted inserted replaced
65:8a530a83576a 69:dcd4152cfe55
     1 /*
     1 /*
     2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    93 void CCFPhaseBase::Cancel()
    93 void CCFPhaseBase::Cancel()
    94     {
    94     {
    95     FUNC_LOG;
    95     FUNC_LOG;
    96 
    96 
    97     __ASSERT_DEBUG( iStarterRequest, Panic( ENoRequestToComplete ) );
    97     __ASSERT_DEBUG( iStarterRequest, Panic( ENoRequestToComplete ) );
    98     
    98     if ( iStarterRequest )
    99     User::RequestComplete( iStarterRequest, KErrCancel );
    99 		{
       
   100 		User::RequestComplete( iStarterRequest, KErrCancel );
       
   101 		}
   100     }
   102     }
   101 
   103 
   102 //-----------------------------------------------------------------------------
   104 //-----------------------------------------------------------------------------
   103 // CCFPhaseBase::HandleEvent
   105 // CCFPhaseBase::HandleEvent
   104 //-----------------------------------------------------------------------------
   106 //-----------------------------------------------------------------------------