First public contribution.
1 // Copyright (c) 2008-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.
14 // e32test/usb/t_usb_device/include/activetimer.h
18 #ifndef __ACTIVETIMER_H__
19 #define __ACTIVETIMER_H__
21 class CActiveTimer : public CActive
24 static CActiveTimer* NewL(CConsoleBase* aConsole, RDEVCLIENT* aPort);
26 void Activate(TTimeIntervalMicroSeconds32 aDelay);
29 CActiveTimer(CConsoleBase* aConsole, RDEVCLIENT* aPort);
31 virtual void DoCancel();
35 CConsoleBase* iConsole;
40 #endif // __ACTIVETIMER_H__