Core: Add SignalHandlerAppComponent
This commit is contained in:
committed by
Jérôme Leclercq
parent
8eefb2f101
commit
40bb69bc60
16
include/Nazara/Core/SignalHandlerAppComponent.inl
Normal file
16
include/Nazara/Core/SignalHandlerAppComponent.inl
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
SignalHandlerAppComponent::SignalHandlerAppComponent(ApplicationBase& app) :
|
||||
ApplicationComponent(app)
|
||||
{
|
||||
InstallSignalHandler();
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Core/DebugOff.hpp>
|
||||
Reference in New Issue
Block a user