telephonyserver/etelmultimode/TETEL/te_EtelMM/TE_mmcanceller.cpp
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Implements AO used to cancel ETelmm AOs
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <e32base.h>
       
    19 #include "TE_mmcanceller.h"
       
    20 
       
    21 
       
    22 CTestCanceller::CTestCanceller(CActive* aRetrieve)
       
    23 : CAsyncOneShot(EPriorityNormal),iRetrieve(aRetrieve)
       
    24 	{}
       
    25 
       
    26 CTestCanceller::~CTestCanceller()
       
    27 	{}
       
    28 
       
    29 void CTestCanceller::RunL()
       
    30 	{
       
    31 	iRetrieve->Cancel();
       
    32 	CActiveScheduler::Stop();
       
    33 	}
       
    34