Fix includes in source/scriptinterface

Make include-what-you-use happy with files in source/scriptinterface and
fix what needs to be fixed.

Ref: #8086
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-08-04 19:04:30 +02:00
parent 32fd10691d
commit b066bb0b99
27 changed files with 328 additions and 86 deletions
+6 -4
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 2020 Wildfire Games.
/* Copyright (C) 2025 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -18,13 +18,15 @@
#ifndef INCLUDED_SCRIPTENGINE
#define INCLUDED_SCRIPTENGINE
#include "ScriptTypes.h"
#include "lib/debug.h"
#include "ps/Singleton.h"
#include "scriptinterface/ScriptTypes.h"
#include "js/Initialization.h"
#include <js/Initialization.h>
#include <list>
struct JSContext;
/**
* A class using the RAII (Resource Acquisition Is Initialization) idiom to manage initialization
* and shutdown of the SpiderMonkey script engine. It also keeps a count of active script contexts