First public contribution.
1 #ifndef __REMOTE_WAKEUP_TIMER_H
2 #define __REMOTE_WAKEUP_TIMER_H
5 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
7 * This component and the accompanying materials are made available
8 * under the terms of the License "Eclipse Public License v1.0"
9 * which accompanies this distribution, and is available
10 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
12 * Initial Contributors:
13 * Nokia Corporation - initial contribution.
27 #include "testdevicebase.h"
29 namespace NUnitTesting_USBDI
34 class CRemoteWakeupTimer : public CTimer
40 @param aTestDevice the test device object that will perform the remote wakeup event
43 static CRemoteWakeupTimer* NewL(RUsbTestDevice& aTestDevice);
49 ~CRemoteWakeupTimer();
52 Wake-up the test device after the specified interval
53 @param aInterval the interval
56 void WakeUp(TUint16 aInterval);
62 CRemoteWakeupTimer(RUsbTestDevice& aTestDevice);
69 private: // From CTimer
76 The test device object to instruct to connect of disonnect
78 RUsbTestDevice& iTestDevice;