add DC_EVENT_DELETED_BLOB_FILE

This commit is contained in:
holger krekel
2019-10-03 16:16:17 +02:00
parent 467c09f491
commit 603761e4b7
6 changed files with 27 additions and 2 deletions

View File

@@ -3934,6 +3934,16 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
*/
#define DC_EVENT_NEW_BLOB_FILE 150
/**
* Emitted when a blob file was successfully deleted
*
* @param data1 0
* @param data2 (const char*) path name
* Must not be free()'d or modified and is valid only until the callback returns.
* @return 0
*/
#define DC_EVENT_DELETED_BLOB_FILE 151
/**
* The library-user should write a warning string to the log.
* Passed to the callback given to dc_context_new().

View File

@@ -128,6 +128,7 @@ impl ContextWrapper {
| Event::ImapMessageDeleted(msg)
| Event::ImapMessageMoved(msg)
| Event::NewBlobFile(msg)
| Event::DeletedBlobFile(msg)
| Event::Warning(msg)
| Event::Error(msg)
| Event::ErrorNetwork(msg)