os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/inc/T_ActiveNotifyChange.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     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".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 
    19 /**
    20 @test
    21 @internalComponent
    22 
    23 This contains CT_ActiveNotifyChange
    24 */
    25 
    26 #if (!defined __T_ACRIVE_NOTIFY_CHANGE_H__)
    27 #define __T_ACRIVE_NOTIFY_CHANGE_H__
    28 
    29 #include <test/activecallback.h>
    30 
    31 class CT_ActiveNotifyChange : public CActiveCallback
    32 	{
    33 public:
    34 	static CT_ActiveNotifyChange*	NewL(TInt aCount, TInt aAsyncErrorIndex, MActiveCallback& aCallback, TInt aPriority=EPriorityStandard);
    35 	static CT_ActiveNotifyChange*	NewLC(TInt aCount, TInt aAsyncErrorIndex, MActiveCallback& aCallback, TInt aPriority=EPriorityStandard);
    36 
    37 	TInt	DecCount();
    38 	void	Activate();
    39 
    40 protected:
    41 	CT_ActiveNotifyChange(TInt aCount, TInt aAsyncErrorIndex, MActiveCallback& aCallback, TInt aPriority);
    42 
    43 private:
    44 	TInt	iCount;
    45 	TInt	iAsyncErrorIndex;
    46 	};
    47 
    48 #endif /* __T_ACRIVE_NOTIFY_CHANGE_H__ */