// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Development Kit" // For conditions of distribution and use, see copyright notice in Prerequisites.hpp #pragma once #ifndef NDK_COMPONENT_HPP #define NDK_COMPONENT_HPP #include namespace Ndk { template class Component : public BaseComponent, public Nz::HandledObject { public: Component(); virtual ~Component(); std::unique_ptr Clone() const override; static ComponentIndex RegisterComponent(ComponentId id); template static ComponentIndex RegisterComponent(const char (&name)[N]); }; } #include #endif // NDK_COMPONENT_HPP