[ox/event] Add Event package
This commit is contained in:
19
deps/ox/src/ox/event/signal.cpp
vendored
Normal file
19
deps/ox/src/ox/event/signal.cpp
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright 2016 - 2021 gary@drinkingtea.net
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "signal.hpp"
|
||||
|
||||
namespace ox {
|
||||
|
||||
template class Signal<Error(const SignalHandler*)>;
|
||||
|
||||
SignalHandler::~SignalHandler() noexcept {
|
||||
destruction.emit(this);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user