track message of file transfer, and call update on completion

This commit is contained in:
2024-10-06 19:58:44 +02:00
parent 2e34ad2100
commit a0c3336f37
3 changed files with 28 additions and 14 deletions

View File

@@ -2,6 +2,8 @@
#include <solanaceae/object_store/meta_components_file.hpp> // contains the alias
#include <solanaceae/message3/registry_message_model.hpp>
#include <solanaceae/toxcore/tox_key.hpp>
namespace ObjectStore::Components {
@@ -34,6 +36,12 @@ namespace ObjectStore::Components {
uint32_t transfer_number;
};
// TODO: replace this with something generic
struct ToxMessage {
// the message, if the ft is visible as a message
Message3Handle m;
};
} // Ephemeral
} // ObjectStore::Components