aboutsummaryrefslogtreecommitdiff
path: root/src/libusb-glue.h
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2009-09-22 22:08:35 +0000
committerLinus Walleij <triad@df.lth.se>2009-09-22 22:08:35 +0000
commitfea4f53595425274263166b92797e3bb2349b549 (patch)
treef6e8b85d8d1f757d40b2a45cf8a01e706219c27c /src/libusb-glue.h
parent936b27b0a65e8ba1ee74be0e3dc1b562e7fa75e2 (diff)
downloadlibmtp-fea4f53595425274263166b92797e3bb2349b549.tar.gz
Patches from Nicolas to support the BlackBerry Storm.
Diffstat (limited to 'src/libusb-glue.h')
-rw-r--r--src/libusb-glue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libusb-glue.h b/src/libusb-glue.h
index c68677e..08717f4 100644
--- a/src/libusb-glue.h
+++ b/src/libusb-glue.h
@@ -116,6 +116,8 @@ void get_usb_device_timeout(PTP_USB *ptp_usb, int *timeout);
((a)->rawdevice.device_entry.device_flags & DEVICE_FLAG_BROKEN_BATTERY_LEVEL)
#define FLAG_FLAC_IS_UNKNOWN(a) \
((a)->rawdevice.device_entry.device_flags & DEVICE_FLAG_FLAC_IS_UNKNOWN)
+#define FLAG_SWITCH_MODE_BLACKBERRY(a) \
+ ((a)->rawdevice.device_entry.device_flags & DEVICE_FLAG_SWITCH_MODE_BLACKBERRY)
/* connect_first_device return codes */
#define PTP_CD_RC_CONNECTED 0