Added Components
Former-commit-id: 02f9e9892b58a725697b83e7b75127db5b3a27f4
This commit is contained in:
21
SDK/include/NDK/BaseComponent.inl
Normal file
21
SDK/include/NDK/BaseComponent.inl
Normal 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
|
||||
{
|
||||
inline BaseComponent::BaseComponent(nzUInt32 componentId) :
|
||||
m_componentId(componentId)
|
||||
{
|
||||
}
|
||||
|
||||
inline nzUInt32 BaseComponent::GetComponentId() const
|
||||
{
|
||||
return m_componentId;
|
||||
}
|
||||
|
||||
inline nzUInt32 BaseComponent::GetNextId()
|
||||
{
|
||||
return s_nextId++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user