register file transfer types to os inspector (does not show anything...)

This commit is contained in:
Green Sky 2024-05-28 20:32:46 +02:00
parent fae1910f1a
commit bad140dc70
No known key found for this signature in database

View File

@ -4,6 +4,8 @@
#include <imgui/imgui.h> #include <imgui/imgui.h>
#include <solanaceae/message3/components.hpp>
ObjectStoreUI::ObjectStoreUI( ObjectStoreUI::ObjectStoreUI(
ObjectStore2& os ObjectStore2& os
) : _os(os) { ) : _os(os) {
@ -11,6 +13,9 @@ ObjectStoreUI::ObjectStoreUI(
_ee.registerComponent<ObjectStore::Components::ID>("ID"); _ee.registerComponent<ObjectStore::Components::ID>("ID");
_ee.registerComponent<ObjectStore::Components::DataCompressionType>("DataCompressionType"); _ee.registerComponent<ObjectStore::Components::DataCompressionType>("DataCompressionType");
_ee.registerComponent<Message::Components::Transfer::FileInfo>("Transfer::FileInfo");
_ee.registerComponent<Message::Components::Transfer::FileInfoLocal>("Transfer::FileInfoLocal");
} }
void ObjectStoreUI::render(void) { void ObjectStoreUI::render(void) {