move cursers to public api

This commit is contained in:
Green Sky 2024-04-14 11:13:05 +02:00
parent a845609660
commit a6614e76ce
No known key found for this signature in database
3 changed files with 1 additions and 20 deletions

@ -1 +1 @@
Subproject commit 7c28b232a46ebede9d6f09bc6eafb49bacfa99ea Subproject commit f9f70a05b1d248e84198c83abeda3579107d09bb

View File

@ -10,9 +10,6 @@
#include "./file_selector.hpp" #include "./file_selector.hpp"
#include "./send_image_popup.hpp" #include "./send_image_popup.hpp"
// HACK: move to public msg api?
#include "./fragment_store/message_fragment_store.hpp"
#include <entt/container/dense_map.hpp> #include <entt/container/dense_map.hpp>
#include <cstdint> #include <cstdint>

View File

@ -29,22 +29,6 @@ namespace Message::Components {
Object o {entt::null}; Object o {entt::null};
}; };
// points to the front/newer message
// together they define a range that is,
// eg the first(end) and last(begin) message being rendered
// MFS requires there to be atleast one other fragment after/before,
// if not loaded fragment with fitting tsrange(direction) available
// uses fragmentAfter/Before()
// they can exist standalone
// if they are a pair, the inside is filled first
// cursers require a timestamp ???
struct ViewCurserBegin {
Message3 curser_end{entt::null};
};
struct ViewCurserEnd {
Message3 curser_begin{entt::null};
};
// TODO: add adjacency range comp or inside curser // TODO: add adjacency range comp or inside curser
// TODO: unused // TODO: unused