// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #include #include #include template void NzSignal::Connect(const Callback& func) { m_callbacks.push_back(func); } template void NzSignal::operator()(Args&&... args) { for (const Callback& func : m_callbacks) func(std::forward(args)...); } #include