libmtp: /usr/obj/ports/libmtp-1.1.3/libmtp-1.1.3/src/device-flags.h Source File

# device-flags.h

Go to the documentation of this file.

    00001
    00034 #define DEVICE_FLAG_NONE 0x00000000
    00035
    00053 #define DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL 0x00000001
    00054
    00066 #define DEVICE_FLAG_UNLOAD_DRIVER 0x00000002
    00067
    00073 #define DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST 0x00000004
    00074
    00089 #define DEVICE_FLAG_NO_ZERO_READS 0x00000008
    00090
    00105 #define DEVICE_FLAG_IRIVER_OGG_ALZHEIMER 0x00000010
    00106
    00114 #define DEVICE_FLAG_ONLY_7BIT_FILENAMES 0x00000020
    00115
    00122 #define DEVICE_FLAG_NO_RELEASE_INTERFACE 0x00000040
    00123
    00134 #define DEVICE_FLAG_IGNORE_HEADER_ERRORS 0x00000080
    00135
    00142 #define DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST 0x00000100
    00143
    00157 #define DEVICE_FLAG_OGG_IS_UNKNOWN 0x00000200
    00158
    00165 #define DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS 0x00000400
    00166
    00171 #define DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR 0x00000800
    00172
    00179 #define DEVICE_FLAG_PLAYLIST_SPL_V1 0x00001000
    00180
    00188 #define DEVICE_FLAG_PLAYLIST_SPL_V2 0x00002000
    00189
    00195 #define DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED 0x00004000
    00196
    00204 #define DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST 0x00008000
    00205
    00209 #define DEVICE_FLAG_BROKEN_BATTERY_LEVEL 0x00010000
    00210
    00215 #define DEVICE_FLAG_DELETE_SENDS_EVENT  0x00020000
    00216
    00220 #define DEVICE_FLAG_CAPTURE             0x00040000
    00221
    00225 #define DEVICE_FLAG_CAPTURE_PREVIEW     0x00080000
    00226
    00231 #define DEVICE_FLAG_NIKON_BROKEN_CAPTURE        0x00100000
    00232
    00237 #define DEVICE_FLAG_NO_CAPTURE_COMPLETE         0x00400000
    00238
    00243 #define DEVICE_FLAG_MATCH_PTP_INTERFACE         0x00800000
    00244
    00248 #define DEVICE_FLAG_FLAC_IS_UNKNOWN             0x01000000
    00249
    00253 #define DEVICE_FLAG_UNIQUE_FILENAMES            0x02000000
    00254
    00258 #define DEVICE_FLAG_SWITCH_MODE_BLACKBERRY      0x04000000
    00259
    00263 #define DEVICE_FLAG_LONG_TIMEOUT                0x08000000
    00264
    00269 #define DEVICE_FLAG_FORCE_RESET_ON_CLOSE        0x10000000
    00270
    00275 #define DEVICE_FLAG_BROKEN_GET_OBJECT_PROPVAL   0x20000000
    00276
    00280 #define DEVICE_FLAG_BROKEN_GET_OBJECT_INFO      0x40000000
    00281
    00287 #define DEVICE_FLAGS_SONY_NWZ_BUGS \
    00288   (DEVICE_FLAG_UNLOAD_DRIVER | \
    00289    DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | \
    00290    DEVICE_FLAG_UNIQUE_FILENAMES | \
    00291    DEVICE_FLAG_FORCE_RESET_ON_CLOSE )
    00292
    00299 #define DEVICE_FLAGS_ANDROID_BUGS \
    00300   (DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | \
    00301    DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | \
    00302    DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \
    00303    DEVICE_FLAG_UNLOAD_DRIVER | \
    00304    DEVICE_FLAG_LONG_TIMEOUT )