Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
gloox.h
Go to the documentation of this file.
1/* Copyright (C) 2026 Wildfire Games.
2 *
3 * Permission is hereby granted, free of charge, to any person obtaining
4 * a copy of this software and associated documentation files (the
5 * "Software"), to deal in the Software without restriction, including
6 * without limitation the rights to use, copy, modify, merge, publish,
7 * distribute, sublicense, and/or sell copies of the Software, and to
8 * permit persons to whom the Software is furnished to do so, subject to
9 * the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included
12 * in all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 */
22
23/*
24 * Bring in gloox header+library, with compatibility fixes.
25 */
26
27#ifndef INCLUDED_GLOOX
28#define INCLUDED_GLOOX
29
30// Needs NOMINMAX or including windows.h breaks c++ standard library. Include
31// our version which has extra fixes.
32#include "lib/sysdep/os.h"
33#if OS_WIN
35#endif
36
37// Conflicts with mozjs
38#pragma push_macro("lookup")
39#undef lookup
40
41#include <gloox/client.h> // IWYU pragma: export
42#include <gloox/connectionlistener.h> // IWYU pragma: export
43#include <gloox/delayeddelivery.h> // IWYU pragma: export
44#include <gloox/disco.h> // IWYU pragma: export
45#include <gloox/error.h> // IWYU pragma: export
46#include <gloox/gloox.h> // IWYU pragma: export
47#include <gloox/glooxversion.h> // IWYU pragma: export
48#include <gloox/iq.h> // IWYU pragma: export
49#include <gloox/iqhandler.h> // IWYU pragma: export
50#include <gloox/jid.h> // IWYU pragma: export
51#include <gloox/jinglecontent.h> // IWYU pragma: export
52#include <gloox/jingleiceudp.h> // IWYU pragma: export
53#include <gloox/jingleplugin.h> // IWYU pragma: export
54#include <gloox/jinglesession.h> // IWYU pragma: export
55#include <gloox/jinglesessionhandler.h> // IWYU pragma: export
56#include <gloox/jinglesessionmanager.h> // IWYU pragma: export
57#include <gloox/loghandler.h> // IWYU pragma: export
58#include <gloox/message.h> // IWYU pragma: export
59#include <gloox/messagehandler.h> // IWYU pragma: export
60#include <gloox/mucroom.h> // IWYU pragma: export
61#include <gloox/mucroomhandler.h> // IWYU pragma: export
62#include <gloox/presence.h> // IWYU pragma: export
63#include <gloox/registration.h> // IWYU pragma: export
64#include <gloox/registrationhandler.h> // IWYU pragma: export
65#include <gloox/rosterlistener.h> // IWYU pragma: export
66#include <gloox/rostermanager.h> // IWYU pragma: export
67#include <gloox/stanzaextension.h> // IWYU pragma: export
68#include <gloox/tag.h> // IWYU pragma: export
69#include <gloox/util.h> // IWYU pragma: export
70
71#pragma pop_macro("lookup")
72
73#endif // #ifndef INCLUDED_GLOOX