Ndk/Algorithm: Fixed headers cyclic dependency

Former-commit-id: a6d4d21586ef948dd68f1d3e7dc01e8275aaac3f
This commit is contained in:
Lynix
2015-05-03 19:48:33 +02:00
parent 31227ca567
commit 9bffaaaa84
2 changed files with 6 additions and 11 deletions

View File

@@ -11,16 +11,13 @@
namespace Ndk
{
class BaseComponent;
class BaseSystem;
template<unsigned int N> ComponentId BuildComponentId(const char (&name)[N]);
template<typename ComponentType> constexpr ComponentIndex GetComponentIndex();
template<typename SystemType> constexpr SystemIndex GetSystemIndex();
template<typename ComponentType, unsigned int N> ComponentIndex InitializeComponent(const char (&name)[N]);
template<typename SystemType> SystemIndex InitializeSystem();
template<typename ComponentType> bool IsComponent(BaseComponent& component);
template<typename SystemType> bool IsSystem(BaseSystem& system);
template<typename ComponentType, typename C> bool IsComponent(C& component);
template<typename SystemType, typename S> bool IsSystem(S& system);
}
#include <Ndk/Algorithm.inl>