os/persistentdata/featuremgmt/featuremgr/test/shared/inc/efm_featurenotifierstepbase.h
Update contrib.
1 // Copyright (c) 2007-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 @internalComponent - Internal Symbian test code
22 #ifndef __EFMFEATURENOTIFIERSTEPBASE__
23 #define __EFMFEATURENOTIFIERSTEPBASE__
25 #include <featmgr/featurenotifier.h>
26 #include <featmgr/featurecontrol.h>
27 #include <test/testexecutestepbase.h>
28 #include "efm_teststepbase.h"
29 #include "efm_test_consts.h"
37 CActiveSchedulerWait* iWait;
40 class CFeatureNotifierStepBase : public CEFMConfigurableTestStepBase, public MFeatureObserver
43 virtual TVerdict doTestStepPreambleL(void);
44 virtual TVerdict doTestStepPostambleL(void);
45 void HandleNotifyChange( TFeatureChangeType aType, TFeatureEntry aFeature );
46 void HandleNotifyError( TInt aError );
47 void CheckNotifyRequestResultL(TUid aUid);
48 void CheckNotifyCancelResultL(TUid aUid);
49 void CheckDeleteNotificationResultL(TUid aUid);
51 void WaitL( TInt aIntervalInMicorseconds );
53 CActiveScheduler* iSched;
54 CActiveSchedulerWait* iWait;
55 TBool iNotifyCompleted;
56 RFeatureControl icontrol;