Added Components
Former-commit-id: 02f9e9892b58a725697b83e7b75127db5b3a27f4
This commit is contained in:
28
SDK/include/NDK/Component.hpp
Normal file
28
SDK/include/NDK/Component.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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_COMPONENT_HPP
|
||||
#define NDK_COMPONENT_HPP
|
||||
|
||||
#include <NDK/Prerequesites.hpp>
|
||||
#include <NDK/BaseComponent.hpp>
|
||||
|
||||
namespace Ndk
|
||||
{
|
||||
template<typename ComponentType>
|
||||
class Component : public BaseComponent
|
||||
{
|
||||
public:
|
||||
Component();
|
||||
virtual ~Component();
|
||||
|
||||
static nzUInt32 GetId();
|
||||
};
|
||||
}
|
||||
|
||||
#include <NDK/Component.inl>
|
||||
|
||||
#endif // NDK_COMPONENT_HPP
|
||||
Reference in New Issue
Block a user