mcdp moved to trunk
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@31 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
29
mcdp/src/ch/ntb/usb/Usb_Device.java
Normal file
29
mcdp/src/ch/ntb/usb/Usb_Device.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package ch.ntb.usb;
|
||||
|
||||
public class Usb_Device {
|
||||
public Usb_Device next, prev;
|
||||
|
||||
public String filename;
|
||||
|
||||
public Usb_Bus bus;
|
||||
|
||||
public Usb_Device_Descriptor descriptor;
|
||||
|
||||
public Usb_Config_Descriptor[] config;
|
||||
|
||||
public byte devnum;
|
||||
|
||||
public byte num_children;
|
||||
|
||||
public Usb_Device children;
|
||||
|
||||
public String toString() {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
sb.append("** Usb_Device **\n");
|
||||
sb.append("\tfilename: " + filename + "\n");
|
||||
sb.append("\tdevnum: " + devnum + "\n");
|
||||
sb.append("\tnum_children: " + num_children + "\n");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user