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 the License "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.
22 // method prototype used to pass a 'this' pointer to a friend
23 typedef void (*WDCancellerMethod)(CTestCaseRoot* pThis);
27 class CTestCaseWatchdog : public CTimer
32 // Static construction
33 static CTestCaseWatchdog* NewL();
36 void IssueRequest(TInt aWatchdogIntervalMS, CTestCaseRoot* pRoot, WDCancellerMethod cancelMethod); //ms duration
38 // service completed request.
39 // Defined as pure virtual by CActive;
40 // implementation provided by this class.
45 // Second phase construction
52 TInt iMSRequested; // Total MS to watchdog for
53 CTestCaseRoot *iThisPointer;
54 WDCancellerMethod iCancelFriendFunc;
61 #endif // TESTCASEWD_H