(NDK) Modified component/system registration interface
Let's hope it's the last time I do this Former-commit-id: 75f8e63e90e067a7d21efa6a1226ae4bbe050ab9
This commit is contained in:
@@ -26,14 +26,11 @@ namespace Ndk
|
||||
|
||||
ComponentIndex GetIndex() const;
|
||||
|
||||
template<typename ComponentType, unsigned int N>
|
||||
static ComponentIndex Register(const char (&name)[N]);
|
||||
|
||||
static ComponentIndex Register(ComponentId id, Factory factoryFunc);
|
||||
|
||||
protected:
|
||||
ComponentIndex m_componentIndex;
|
||||
|
||||
static ComponentIndex RegisterComponent(ComponentId id, Factory factoryFunc);
|
||||
|
||||
private:
|
||||
struct ComponentEntry
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user