add back some hacks we had for messages

will need to think about how to solve these better
This commit is contained in:
Green Sky 2024-07-24 14:57:01 +02:00
parent 74e57dad31
commit 7d64832f77
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

View File

@ -136,6 +136,16 @@ namespace ObjectStore::Components {
}; };
#endif #endif
// split into up and down?
struct TagTransferPaused {};
// TODO: big todo, this needs to become some kind of event
// TODO: rename to start? or set or ...
struct ActionTransferAccept {
std::string save_to_path;
bool path_is_file = false; // if the path is not the folder to place the file into, overwrites the name
};
} // File } // File
} // Ephemeral } // Ephemeral

View File

@ -29,6 +29,8 @@ struct StorageBackendI {
// ========== File2 interop ========== // ========== File2 interop ==========
enum FILE2_FLAGS : uint32_t { enum FILE2_FLAGS : uint32_t {
FILE2_NONE = 0u,
FILE2_READ = 1u << 0, FILE2_READ = 1u << 0,
FILE2_WRITE = 1u << 1, FILE2_WRITE = 1u << 1,