Core: Add SignalHandlerAppComponent

This commit is contained in:
SirLynix
2023-06-07 13:36:13 +02:00
committed by Jérôme Leclercq
parent 8eefb2f101
commit 40bb69bc60
9 changed files with 157 additions and 26 deletions

View File

@@ -74,7 +74,12 @@ namespace Nz
{
m_running = false;
}
inline ApplicationBase* ApplicationBase::Instance()
{
return s_instance;
}
template<typename T, typename... Args>
T& ApplicationBase::AddComponent(Args&&... args)
{