[ox/event] Add Event package

This commit is contained in:
2021-07-16 20:43:07 -05:00
parent b27d6671fc
commit 950712b85e
7 changed files with 327 additions and 0 deletions

19
deps/ox/src/ox/event/signal.cpp vendored Normal file
View 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);
}
}