blob: 0d8e6373ccd023aed4bc07384e5f484f89d8e21a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright (c) 2013-2014 Remko Tronçon
* Licensed under the GNU General Public License.
* See the COPYING file for more information.
*/
#pragma once
#include <Sluift/LuaElementConvertors.h>
#include <Swiften/EventLoop/SimpleEventLoop.h>
#include <Swiften/Network/BoostNetworkFactories.h>
#include <signal.h>
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;
};
}
|