os/kernelhwsrv/kerneltest/e32test/usb/t_usb_device/include/activedevicestatenotifier.h
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/activedevicestatenotifier.h
18 #ifndef __ACTIVEDEVICESTATENOTIFIER_H__
19 #define __ACTIVEDEVICESTATENOTIFIER_H__
21 class CActiveDeviceStateNotifier : public CActive
24 static CActiveDeviceStateNotifier* NewL(CConsoleBase* aConsole, RDEVCLIENT* aPort, TUint aPortNumber);
25 ~CActiveDeviceStateNotifier();
29 CActiveDeviceStateNotifier(CConsoleBase* aConsole, RDEVCLIENT* aPort, TUint aPortNumber);
31 virtual void DoCancel();
35 CConsoleBase* iConsole;
41 #endif // __ACTIVEDEVICESTATENOTIFIER_H__