Handle windows and EnTT with application components
This commit is contained in:
committed by
Jérôme Leclercq
parent
18851c9185
commit
da9eb14ebe
24
include/Nazara/Core/ApplicationComponentRegistry.hpp
Normal file
24
include/Nazara/Core/ApplicationComponentRegistry.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
// Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_CORE_APPLICATIONCOMPONENTREGISTRY_HPP
|
||||
#define NAZARA_CORE_APPLICATIONCOMPONENTREGISTRY_HPP
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Core/Config.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
template<typename T>
|
||||
struct ApplicationComponentRegistry
|
||||
{
|
||||
static std::size_t GetComponentId();
|
||||
};
|
||||
}
|
||||
|
||||
#include <Nazara/Core/ApplicationComponentRegistry.inl>
|
||||
|
||||
#endif // NAZARA_CORE_APPLICATIONCOMPONENTREGISTRY_HPP
|
||||
Reference in New Issue
Block a user