Added Components

Former-commit-id: 02f9e9892b58a725697b83e7b75127db5b3a27f4
This commit is contained in:
Lynix
2015-03-01 01:53:49 +01:00
parent dd56dd6e29
commit 699b580516
7 changed files with 205 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
// 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
namespace Ndk
{
template<typename ComponentType>
Component<ComponentType>::Component() :
BaseComponent(GetId())
{
}
template<typename ComponentType>
Component<ComponentType>::~Component() = default;
template<typename ComponentType>
nzUInt32 Component<ComponentType>::GetId()
{
return ComponentType::ComponentId;
}
}