diff options
author | Peter Stuge <peter@stuge.se> | 2011-06-13 22:53:40 +0200 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-07-24 22:29:10 +0200 |
commit | 08bc7ffb6a3b65afc6795cd048a890ee8da7d954 (patch) | |
tree | 9929c3538d54b9cda7cc14c481beebea2bfde3c0 /libusb/libusb.h | |
parent | 3d7938d85a33cd98553c0c898a8dd0490826b077 (diff) | |
download | android_external_libusbx-08bc7ffb6a3b65afc6795cd048a890ee8da7d954.tar.gz android_external_libusbx-08bc7ffb6a3b65afc6795cd048a890ee8da7d954.tar.bz2 android_external_libusbx-08bc7ffb6a3b65afc6795cd048a890ee8da7d954.zip |
libusb.h: Add LIBUSB_CLASS_IMAGE in addition to LIBUSB_CLASS_PTP
The old LIBUSB_CLASS_PTP name is kept for compatibility. Fixes #106.
Diffstat (limited to 'libusb/libusb.h')
-rw-r--r-- | libusb/libusb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libusb/libusb.h b/libusb/libusb.h index 5f36f38..7bb1b6a 100644 --- a/libusb/libusb.h +++ b/libusb/libusb.h @@ -158,8 +158,9 @@ enum libusb_class_code { /** Printer class */ LIBUSB_CLASS_PRINTER = 7, - /** Picture transfer protocol class */ - LIBUSB_CLASS_PTP = 6, + /** Image class */ + LIBUSB_CLASS_PTP = 6, /* legacy name from libusb-0.1 usb.h */ + LIBUSB_CLASS_IMAGE = 6, /** Mass storage class */ LIBUSB_CLASS_MASS_STORAGE = 8, |