usbmgmt/usbmgr/usbman/server/public/usbhostdefs.h
changeset 54 320d509f1a12
parent 0 c9bc50fca66e
child 55 3b97f0de7605
--- a/usbmgmt/usbmgr/usbman/server/public/usbhostdefs.h	Fri Sep 17 08:40:15 2010 +0300
+++ b/usbmgmt/usbmgr/usbman/server/public/usbhostdefs.h	Mon Oct 04 03:06:48 2010 +0300
@@ -139,4 +139,37 @@
 	TInt iReserved3;
 	};
 
+
+NONSHARABLE_CLASS(TConfigurationDescriptor)
+	{
+public:
+	inline TConfigurationDescriptor()
+		:	iDeviceId(0),
+		    iNumInterfaces(0),
+		    iConfigration(0),
+		    iAttributes(0),
+		    iMaxPower(0),
+		    iReserved(0)
+		{}	
+
+	// The ID of the device the configration descriptor relates to.
+	TUint iDeviceId;
+    
+	// the number of interfaces
+	TUint8 iNumInterfaces;
+	
+	// the configration value
+	TUint8 iConfigration;
+
+	// Attributes field of configration
+	TUint8 iAttributes;
+
+	// MaxPower field of configration
+	TUint8 iMaxPower;
+
+	//reserved
+	TInt iReserved;
+	};
+
+
 #endif //__USBHOSTDEFS_H__