Index: src/libmtp.h |
=================================================================== |
--- src/libmtp.h (revision 166547) |
+++ src/libmtp.h (working copy) |
@@ -29,8 +29,8 @@ |
#ifndef LIBMTP_H_INCLUSION_GUARD |
#define LIBMTP_H_INCLUSION_GUARD |
-#define LIBMTP_VERSION 1.1.4 |
-#define LIBMTP_VERSION_STRING "1.1.4" |
+#define LIBMTP_VERSION 1.1.5 |
+#define LIBMTP_VERSION_STRING "1.1.5" |
/* This handles MSVC pecularities */ |
#ifdef _MSC_VER |
@@ -770,6 +770,7 @@ |
*/ |
enum LIBMTP_event_enum { |
LIBMTP_EVENT_NONE, |
+ LIBMTP_EVENT_STORE_ADDED, |
}; |
typedef enum LIBMTP_event_enum LIBMTP_event_t; |
@@ -915,6 +916,8 @@ |
LIBMTP_filesampledata_t *); |
int LIBMTP_Get_Representative_Sample(LIBMTP_mtpdevice_t *, uint32_t const, |
LIBMTP_filesampledata_t *); |
+int LIBMTP_Get_Thumbnail(LIBMTP_mtpdevice_t *, uint32_t const, |
+ unsigned char **data, unsigned int *size); |
/** |
* @} |
@@ -1010,7 +1013,7 @@ |
* @defgroup files The events API. |
* @{ |
*/ |
-int LIBMTP_Read_Event(LIBMTP_mtpdevice_t *, LIBMTP_event_t *); |
+int LIBMTP_Read_Event(LIBMTP_mtpdevice_t *, LIBMTP_event_t *, uint32_t *); |
/** @} */ |