- The attached patch contains some changes to be able to compile the files
when they are included into a C++ project. Mainly this concerns the change
of the variables "private" to "_private" and "new" to "_new". Also added
"extern C" to libusb-glue.h for the previously mentioned reason.
- Added a "#define USB_CLASS_PTP 6" to ptp.h. The usage of USB_CLASS_PTP
came into the project through commit revision 1.273 of file libusb-glue.c.
Maybe a newer version of libusb has this defined, but the win32 version
hasn't.
- Added product and vendor id infos for Sony Ericsson K550i to
music-players.h.
- Added some lines of code to libusb-glue.c which are currently commented
out. But they could be used to handle devices that are pure PTP devices and
no MTP. Perhaps this could be made available by a preprocessor switch or
even by a function parameter that enables libmtp also to detect pure PTP
devices. Any suggestion?
Linus Walleij
None
None
Public
|
Date: 2009-09-07 02:20 This Tracker item was closed automatically by the system. It was |
|
Date: 2009-08-23 21:50 Patched in the most of it, moved the conditional define if |
|
Date: 2009-08-19 15:35 i applied the ptp.c and ptp.h part |
|
Date: 2009-08-19 15:31 i applied the ptp.c and ptp.h parts to libgphoto2 |
| Filename | Description | Download |
|---|---|---|
| libmtp_4win32.patch | Patch for C++ compatibility and a bit more | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | 2009-08-23 21:50 | 2009-09-07 02:20 | sf-robot |
| status_id | Pending | 2009-09-07 02:20 | sf-robot |
| allow_comments | 1 | 2009-09-07 02:20 | sf-robot |
| assigned_to | nobody | 2009-08-23 21:50 | snirkel |
| close_date | - | 2009-08-23 21:50 | snirkel |
| status_id | Open | 2009-08-23 21:50 | snirkel |
| resolution_id | None | 2009-08-23 21:50 | snirkel |
| File Added | 339470: libmtp_4win32.patch | 2009-08-17 14:03 | thomas_-_s |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use