diff --git a/src/solanaceae/object_store/fwd.hpp b/src/solanaceae/object_store/fwd.hpp new file mode 100644 index 0000000..90ec072 --- /dev/null +++ b/src/solanaceae/object_store/fwd.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include + +// internal id +enum class Object : uint32_t {}; +using ObjectRegistry = entt::basic_registry; +using ObjectHandle = entt::basic_handle; + +// fwd +struct StorageBackendI; +struct ObjectStore2; +struct File2I; + diff --git a/src/solanaceae/object_store/object_store.hpp b/src/solanaceae/object_store/object_store.hpp index d468de7..7551c0a 100644 --- a/src/solanaceae/object_store/object_store.hpp +++ b/src/solanaceae/object_store/object_store.hpp @@ -3,20 +3,11 @@ #include #include +#include "./fwd.hpp" + #include #include -#include - -// internal id -enum class Object : uint32_t {}; -using ObjectRegistry = entt::basic_registry; -using ObjectHandle = entt::basic_handle; - -// fwd -struct ObjectStore2; -struct File2I; - struct StorageBackendI { // OR or OS ? ObjectStore2& _os;