// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp

#pragma once

#ifndef NDK_ALGORITHM_HPP
#define NDK_ALGORITHM_HPP

#include <NDK/Prerequesites.hpp>

namespace Ndk
{
	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();
}

#include <Ndk/Algorithm.inl>

#endif // NDK_ALGORITHM_HPP
