introduce DC_EVENT_NEW_BLOB_FILE event and test for it

This commit is contained in:
holger krekel
2019-10-03 16:00:03 +02:00
parent b4b8a1d15b
commit 467c09f491
7 changed files with 23 additions and 2 deletions

View File

@@ -54,6 +54,12 @@ pub enum Event {
#[strum(props(id = "105"))]
ImapMessageMoved(String),
/// Emitted when an new file in the $BLOBDIR was created
///
/// @return 0
#[strum(props(id = "150"))]
NewBlobFile(String),
/// The library-user should write a warning string to the log.
/// Passed to the callback given to dc_context_new().
///