/* * 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), interruptRequested(0) {} int timeout; bool debug; LuaElementConvertors elementConvertor; SimpleEventLoop eventLoop; BoostNetworkFactories networkFactories; int coreLibIndex; sig_atomic_t interruptRequested; }; }