Update contrib.
1 // Copyright (c) 1997-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/t_usbdev_config.h
32 struct IFConfig * iPtrNext;
34 TUsbcScInterfaceInfo* iInfoPtr;
36 TUsbcInterfaceInfo* iInfoPtr;
38 TBool iAlternateSetting;
39 TBool iEpDMA[KMaxEndpointsPerClient];
40 TBool iEpDoubleBuff[KMaxEndpointsPerClient];
43 TUint32 iBandwidthOut;
45 IFConfig (TUint8 aNumber);
47 typedef struct IFConfig IFConfigType;
48 typedef IFConfigType* IFConfigPtr;
53 struct LDDConfig * iPtrNext;
72 TDesC16 * iManufacturer;
74 TDesC16 * iSerialNumber;
75 LDDConfig (TPtrC aName);
77 typedef struct LDDConfig LDDConfigType;
78 typedef LDDConfigType* LDDConfigPtr;
82 LDDConfigPtr* iNextLDDPtrPtr;
83 LDDConfigPtr iThisLDDPtr;
84 IFConfigPtr iThisIFPtr;
85 IFConfigPtr* iNextIFPtrPtr;
86 ConfigPtrs (LDDConfigPtr* LDDPtrPtr);
88 typedef struct ConfigPtrs ConfigPtrsType;
89 typedef ConfigPtrsType* ConfigPtrsPtr;
91 bool ProcessConfigFile (RFile aConfigFile,CConsoleBase* iConsole, LDDConfigPtr * LDDPtrPtr);
92 TBool CheckAttribute (CConsoleBase* iConsole, ConfigPtrsPtr cpPtr,TInt aKeyIndex, TPtrC aDes);
93 TBool CheckValue (CConsoleBase* iConsole, ConfigPtrsPtr cpPtr,TInt aKeyIndex, TPtrC aDes);
94 TInt CheckXmlKey (TPtrC aKey, TInt aLevel);
95 TBool TDesToTUint (TPtrC aDes, TUint * aValue);
96 TBool TDesToBool (TPtrC aDes, TBool * aValue);
98 #endif // __CONFIG_H__