/* * Copyright (c) 2013-2014 Remko Tronçon * Licensed under the GNU General Public License. * See the COPYING file for more information. */ #pragma once #include #include #include #include namespace Swift { struct SluiftGlobals { SluiftGlobals() : networkFactories(&eventLoop), coreLibIndex(-1), moduleLibIndex(-1), interruptRequested(0) {} LuaElementConvertors elementConvertor; SimpleEventLoop eventLoop; BoostNetworkFactories networkFactories; int coreLibIndex; int moduleLibIndex; sig_atomic_t interruptRequested; }; }