Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
ScriptForward.h
Go to the documentation of this file.
1/* Copyright (C) 2021 Wildfire Games.
2 * This file is part of 0 A.D.
3 *
4 * 0 A.D. is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * 0 A.D. is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef INCLUDED_SCRIPTFORWARD
19#define INCLUDED_SCRIPTFORWARD
20
21
22// Ignore some harmless warnings
23#if GCC_VERSION
24# pragma GCC diagnostic push
25# pragma GCC diagnostic ignored "-Wunused-parameter"
26#endif
27#if CLANG_VERSION
28# pragma clang diagnostic push
29# pragma clang diagnostic ignored "-Wunused-parameter"
30#endif
31#if MSC_VERSION
32# pragma warning(push, 1)
33# pragma warning(disable: 4100)
34#endif
35
36
37#include "js/TypeDecls.h"
38
39// Complete with a few additional ones.
40namespace JS
41{
42class HandleValueArray;
43}
44
45namespace js {
46class BaseProxyHandler;
47}
48
49class ScriptContext;
50class ScriptInterface;
51class ScriptRequest;
52
53#if GCC_VERSION
54# pragma GCC diagnostic pop
55#endif
56#if CLANG_VERSION
57# pragma clang diagnostic pop
58#endif
59#if MSC_VERSION
60# pragma warning(pop)
61#endif
62
63
64#endif // INCLUDED_SCRIPTFORWARD
Abstraction around a SpiderMonkey JSContext.
Definition: ScriptContext.h:46
Abstraction around a SpiderMonkey JS::Realm.
Definition: ScriptInterface.h:72
Spidermonkey maintains some 'local' state via the JSContext* object.
Definition: ScriptRequest.h:60
Definition: ScriptForward.h:41
Definition: ScriptForward.h:45