add file obj comp to prep for move

we now depend on os
This commit is contained in:
2024-07-20 23:07:34 +02:00
parent 1c77a403be
commit f1dd5107f8
4 changed files with 17 additions and 2 deletions

View File

@ -4,8 +4,7 @@
#include "./message.hpp"
//fwd
struct File2I;
#include <solanaceae/object_store/fwd.hpp>
#include <entt/container/dense_map.hpp>
@ -72,6 +71,11 @@ namespace Message::Components {
struct TagMessageIsAction {};
// points to the object providing the file for this message
struct MessageFileObject {
ObjectHandle o;
};
namespace Transfer {
//struct TransferState {

View File

@ -30,6 +30,7 @@ DEFINE_COMP_ID(Message::Components::ReadBy)
DEFINE_COMP_ID(Message::Components::SyncedBy)
DEFINE_COMP_ID(Message::Components::MessageText)
DEFINE_COMP_ID(Message::Components::TagMessageIsAction)
DEFINE_COMP_ID(Message::Components::MessageFileObject)
DEFINE_COMP_ID(Message::Components::Transfer::TagHaveAll)
DEFINE_COMP_ID(Message::Components::Transfer::BytesSent)