provide forward decl file for lighter inclusion
This commit is contained in:
parent
c2bf065a0a
commit
4605d64df2
14
src/solanaceae/object_store/fwd.hpp
Normal file
14
src/solanaceae/object_store/fwd.hpp
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <entt/entity/fwd.hpp>
|
||||
|
||||
// internal id
|
||||
enum class Object : uint32_t {};
|
||||
using ObjectRegistry = entt::basic_registry<Object>;
|
||||
using ObjectHandle = entt::basic_handle<ObjectRegistry>;
|
||||
|
||||
// fwd
|
||||
struct StorageBackendI;
|
||||
struct ObjectStore2;
|
||||
struct File2I;
|
||||
|
@ -3,20 +3,11 @@
|
||||
#include <solanaceae/util/event_provider.hpp>
|
||||
#include <solanaceae/util/span.hpp>
|
||||
|
||||
#include "./fwd.hpp"
|
||||
|
||||
#include <entt/entity/registry.hpp>
|
||||
#include <entt/entity/handle.hpp>
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
// internal id
|
||||
enum class Object : uint32_t {};
|
||||
using ObjectRegistry = entt::basic_registry<Object>;
|
||||
using ObjectHandle = entt::basic_handle<ObjectRegistry>;
|
||||
|
||||
// fwd
|
||||
struct ObjectStore2;
|
||||
struct File2I;
|
||||
|
||||
struct StorageBackendI {
|
||||
// OR or OS ?
|
||||
ObjectStore2& _os;
|
||||
|
Loading…
Reference in New Issue
Block a user