diff -r 703a2b94c06c -r dde4619868dc tsrc/testtools/usbman_stub/usbman/client/public/usbstates.h --- a/tsrc/testtools/usbman_stub/usbman/client/public/usbstates.h Wed Sep 15 13:20:24 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,96 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - -/** - @file -*/ - -#ifndef __USBSTATES_H__ -#define __USBSTATES_H__ - -#include - -/** TUsbServiceState - - Enumeration of all the USB service states. - - @publishedPartner - @released -*/ -enum TUsbServiceState - { - /** EUsbServiceIdle - The service is not started. - */ - EUsbServiceIdle = 0x01, - - /** EUsbServiceStarting */ - EUsbServiceStarting = 0x02, - - /** EUsbServiceStarted */ - EUsbServiceStarted = 0x04, - - /** EUsbServiceStopping */ - EUsbServiceStopping = 0x08, - - /** EUsbServiceFatalError */ - EUsbServiceFatalError = 0x10 - }; - -/** TUsbDeviceState - - Enumeration of all of the states of the USB device. - The states reported are dependent on the hardware. - - *** If this changes update KUsbDeviceStates below *** - - @publishedPartner - @released -*/ -enum TUsbDeviceState - { - /** EUsbDeviceStateUndefined */ - EUsbDeviceStateUndefined = 0x00, - - /** EUsbDeviceStateDefault */ - EUsbDeviceStateDefault = 0x01, - - /** EUsbDeviceStateAttached */ - EUsbDeviceStateAttached = 0x02, - - /** EUsbDeviceStatePowered */ - EUsbDeviceStatePowered = 0x04, - - /** EUsbDeviceStateConfigured */ - EUsbDeviceStateConfigured = 0x08, - - /** EUsbDeviceStateAddress */ - EUsbDeviceStateAddress = 0x10, - - /** EUsbDeviceStateSuspended */ - EUsbDeviceStateSuspended = 0x20 - }; - -/** -Number of different USB Device States - -@publishedPartner -*/ -const TInt KUsbDeviceStates = 7; - - -#endif //__USBSTATES_H__