OLD | NEW |
1 /** | 1 /** |
2 * \file libmtp.h | 2 * \file libmtp.h |
3 * Interface to the Media Transfer Protocol library. | 3 * Interface to the Media Transfer Protocol library. |
4 * | 4 * |
5 * Copyright (C) 2005-2012 Linus Walleij <triad@df.lth.se> | 5 * Copyright (C) 2005-2012 Linus Walleij <triad@df.lth.se> |
6 * Copyright (C) 2005-2008 Richard A. Low <richard@wentnet.com> | 6 * Copyright (C) 2005-2008 Richard A. Low <richard@wentnet.com> |
7 * Copyright (C) 2007 Ted Bullock <tbullock@canada.com> | 7 * Copyright (C) 2007 Ted Bullock <tbullock@canada.com> |
8 * Copyright (C) 2008 Florent Mertens <flomertens@gmail.com> | 8 * Copyright (C) 2008 Florent Mertens <flomertens@gmail.com> |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 void LIBMTP_destroy_filesampledata_t(LIBMTP_filesampledata_t *); | 917 void LIBMTP_destroy_filesampledata_t(LIBMTP_filesampledata_t *); |
918 int LIBMTP_Get_Representative_Sample_Format(LIBMTP_mtpdevice_t *, | 918 int LIBMTP_Get_Representative_Sample_Format(LIBMTP_mtpdevice_t *, |
919 LIBMTP_filetype_t const, | 919 LIBMTP_filetype_t const, |
920 LIBMTP_filesampledata_t **); | 920 LIBMTP_filesampledata_t **); |
921 int LIBMTP_Send_Representative_Sample(LIBMTP_mtpdevice_t *, uint32_t const, | 921 int LIBMTP_Send_Representative_Sample(LIBMTP_mtpdevice_t *, uint32_t const, |
922 LIBMTP_filesampledata_t *); | 922 LIBMTP_filesampledata_t *); |
923 int LIBMTP_Get_Representative_Sample(LIBMTP_mtpdevice_t *, uint32_t const, | 923 int LIBMTP_Get_Representative_Sample(LIBMTP_mtpdevice_t *, uint32_t const, |
924 LIBMTP_filesampledata_t *); | 924 LIBMTP_filesampledata_t *); |
925 int LIBMTP_Get_Thumbnail(LIBMTP_mtpdevice_t *, uint32_t const, | 925 int LIBMTP_Get_Thumbnail(LIBMTP_mtpdevice_t *, uint32_t const, |
926 unsigned char **data, unsigned int *size); | 926 unsigned char **data, unsigned int *size); |
| 927 int LIBMTP_Get_Thumbnail_Format(LIBMTP_mtpdevice_t *device, uint32_t const id, |
| 928 uint16_t *format); |
927 | 929 |
928 /** | 930 /** |
929 * @} | 931 * @} |
930 * @defgroup tracks The track management API. | 932 * @defgroup tracks The track management API. |
931 * @{ | 933 * @{ |
932 */ | 934 */ |
933 LIBMTP_track_t *LIBMTP_new_track_t(void); | 935 LIBMTP_track_t *LIBMTP_new_track_t(void); |
934 void LIBMTP_destroy_track_t(LIBMTP_track_t*); | 936 void LIBMTP_destroy_track_t(LIBMTP_track_t*); |
935 LIBMTP_track_t *LIBMTP_Get_Tracklisting(LIBMTP_mtpdevice_t*); | 937 LIBMTP_track_t *LIBMTP_Get_Tracklisting(LIBMTP_mtpdevice_t*); |
936 LIBMTP_track_t *LIBMTP_Get_Tracklisting_With_Callback(LIBMTP_mtpdevice_t*, | 938 LIBMTP_track_t *LIBMTP_Get_Tracklisting_With_Callback(LIBMTP_mtpdevice_t*, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 | 1025 |
1024 | 1026 |
1025 /** @} */ | 1027 /** @} */ |
1026 | 1028 |
1027 /* End of C++ exports */ | 1029 /* End of C++ exports */ |
1028 #ifdef __cplusplus | 1030 #ifdef __cplusplus |
1029 } | 1031 } |
1030 #endif | 1032 #endif |
1031 | 1033 |
1032 #endif /* LIBMTP_H_INCLUSION_GUARD */ | 1034 #endif /* LIBMTP_H_INCLUSION_GUARD */ |
OLD | NEW |