summaryrefslogtreecommitdiff
path: root/src/libusb-glue.h
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2008-08-16 21:14:56 +0000
committerLinus Walleij <triad@df.lth.se>2008-08-16 21:14:56 +0000
commitf3c4405edbf6a9b5c61057c0c2ffbaf067e89cf4 (patch)
treea976ba5a6f6af301a7a77c5ab509be13d1e58a8e /src/libusb-glue.h
parent59765e8d615216257ef622b090786a79027a75f8 (diff)
downloadlibmtp-f3c4405edbf6a9b5c61057c0c2ffbaf067e89cf4.tar.gz
Initial Samsung playlist support by Allistair.
Diffstat (limited to 'src/libusb-glue.h')
-rw-r--r--src/libusb-glue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libusb-glue.h b/src/libusb-glue.h
index c449c5b..2fa6472 100644
--- a/src/libusb-glue.h
+++ b/src/libusb-glue.h
@@ -91,6 +91,12 @@ LIBMTP_error_number_t configure_usb_device(LIBMTP_raw_device_t *device,
((a)->rawdevice.device_entry.device_flags & DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS)
#define FLAG_ALWAYS_PROBE_DESCRIPTOR(a) \
((a)->rawdevice.device_entry.device_flags & DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR)
+#define FLAG_PLAYLIST_SPL_V1(a) \
+ ((a)->rawdevice.device_entry.device_flags & DEVICE_FLAG_PLAYLIST_SPL_V1)
+#define FLAG_PLAYLIST_SPL_V2(a) \
+ ((a)->rawdevice.device_entry.device_flags & DEVICE_FLAG_PLAYLIST_SPL_V2)
+#define FLAG_PLAYLIST_SPL(a) \
+ ((a)->rawdevice.device_entry.device_flags & (DEVICE_FLAG_PLAYLIST_SPL_V1 | DEVICE_FLAG_PLAYLIST_SPL_V2))
/* connect_first_device return codes */
#define PTP_CD_RC_CONNECTED 0