os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/src/T_ActiveNotifyChange.cpp
Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
23 This contains CT_ActiveNotifyChange
27 #include "T_ActiveNotifyChange.h"
29 CT_ActiveNotifyChange* CT_ActiveNotifyChange::NewL(TInt aCount, TInt aAsyncErrorIndex, MActiveCallback& aCallback, TInt aPriority)
31 * Two phase constructor
34 CT_ActiveNotifyChange* ret = new (ELeave) CT_ActiveNotifyChange(aCount, aAsyncErrorIndex, aCallback, aPriority);
35 CleanupStack::PushL(ret);
37 CleanupStack::Pop(ret);
41 CT_ActiveNotifyChange* CT_ActiveNotifyChange::NewLC(TInt aCount, TInt aAsyncErrorIndex, MActiveCallback& aCallback, TInt aPriority)
43 * Two phase constructor
46 CT_ActiveNotifyChange* ret = new (ELeave) CT_ActiveNotifyChange(aCount, aAsyncErrorIndex, aCallback, aPriority);
47 CleanupStack::PushL(ret);
52 CT_ActiveNotifyChange::CT_ActiveNotifyChange(TInt aCount, TInt aAsyncErrorIndex, MActiveCallback& aCallback, TInt aPriority)
54 * Protected constructor. First phase construction
56 : CActiveCallback(aCallback, aPriority)
58 , iAsyncErrorIndex(aAsyncErrorIndex)
62 void CT_ActiveNotifyChange::Activate()
64 CActiveCallback::Activate(iAsyncErrorIndex);
67 TInt CT_ActiveNotifyChange::DecCount()