Remove IFileSystem.h in file_manager.hpp

This commit is contained in:
Benau 2022-11-18 09:24:31 +08:00
parent a688912872
commit 3ecc4ccdad
15 changed files with 24 additions and 2 deletions

View File

@ -25,6 +25,8 @@
#include "utils/string_utils.hpp" #include "utils/string_utils.hpp"
#include <IrrlichtDevice.h> #include <IrrlichtDevice.h>
#include <IFileSystem.h>
#include <IReadFile.h>
#include <IWriteFile.h> #include <IWriteFile.h>
using namespace irr; using namespace irr;
using namespace io; using namespace io;

View File

@ -41,6 +41,7 @@
#include "utils/log.hpp" #include "utils/log.hpp"
#include "utils/vs.hpp" #include "utils/vs.hpp"
#include <IFileSystem.h>
#include <IMaterialRendererServices.h> #include <IMaterialRendererServices.h>
#include <ISceneNode.h> #include <ISceneNode.h>
#include <IVideoDriver.h> #include <IVideoDriver.h>

View File

@ -33,6 +33,7 @@
#include "tracks/track.hpp" #include "tracks/track.hpp"
#include "utils/string_utils.hpp" #include "utils/string_utils.hpp"
#include <IFileSystem.h>
#include <ITexture.h> #include <ITexture.h>
#include <SMaterial.h> #include <SMaterial.h>
#include <IMeshBuffer.h> #include <IMeshBuffer.h>

View File

@ -47,6 +47,7 @@
#include "utils/cpp2011.hpp" #include "utils/cpp2011.hpp"
#include <IrrlichtDevice.h> #include <IrrlichtDevice.h>
#include <IFileSystem.h>
#include <ISceneManager.h> #include <ISceneManager.h>
#include <SViewFrustum.h> #include <SViewFrustum.h>
#include <ge_texture.hpp> #include <ge_texture.hpp>

View File

@ -31,6 +31,8 @@
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#include <IFileSystem.h>
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
/** Returns a string with the content of header.txt (which contains basic /** Returns a string with the content of header.txt (which contains basic
* shader defines). * shader defines).

View File

@ -29,6 +29,7 @@
#include "utils/log.hpp" #include "utils/log.hpp"
#include <algorithm> #include <algorithm>
#include <IFileSystem.h>
namespace SP namespace SP
{ {

View File

@ -30,6 +30,7 @@
#include "utils/string_utils.hpp" #include "utils/string_utils.hpp"
#include <IImageLoader.h> #include <IImageLoader.h>
#include <IReadFile.h>
#include <IVideoDriver.h> #include <IVideoDriver.h>
#include <IWriteFile.h> #include <IWriteFile.h>

View File

@ -32,6 +32,8 @@
#include <ge_texture.hpp> #include <ge_texture.hpp>
#endif #endif
#include <IFileSystem.h>
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
STKTexManager::~STKTexManager() STKTexManager::~STKTexManager()
{ {

View File

@ -37,6 +37,7 @@
#include "utils/string_utils.hpp" #include "utils/string_utils.hpp"
#include <IrrlichtDevice.h> #include <IrrlichtDevice.h>
#include <IFileSystem.h>
#include <IVideoDriver.h> #include <IVideoDriver.h>
using namespace GUIEngine; using namespace GUIEngine;

View File

@ -50,6 +50,8 @@
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <IFileSystem.h>
namespace irr { namespace irr {
namespace io namespace io
{ {

View File

@ -30,8 +30,11 @@
#include <set> #include <set>
#include <irrString.h> #include <irrString.h>
#include <IFileSystem.h> namespace irr
namespace irr { class IrrlichtDevice; } {
class IrrlichtDevice;
namespace io { class IFileSystem; }
}
using namespace irr; using namespace irr;
#include "io/xml_node.hpp" #include "io/xml_node.hpp"

View File

@ -47,6 +47,7 @@
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
#include <IFileSystem.h>
#ifndef SERVER_ONLY #ifndef SERVER_ONLY
#include <ge_main.hpp> #include <ge_main.hpp>
#endif #endif

View File

@ -47,6 +47,8 @@ static std::vector<UserConfigParam*> g_server_params;
#include <fstream> #include <fstream>
#include <IFileSystem.h>
namespace ServerConfig namespace ServerConfig
{ {
// ============================================================================ // ============================================================================

View File

@ -38,6 +38,7 @@
#include "mini_glm.hpp" #include "mini_glm.hpp"
#include "utils/string_utils.hpp" #include "utils/string_utils.hpp"
#include <IFileSystem.h>
#include <ISceneManager.h> #include <ISceneManager.h>
#include <IMeshManipulator.h> #include <IMeshManipulator.h>
#include <IMeshSceneNode.h> #include <IMeshSceneNode.h>

View File

@ -84,6 +84,7 @@
#include "utils/translation.hpp" #include "utils/translation.hpp"
#include <IBillboardTextSceneNode.h> #include <IBillboardTextSceneNode.h>
#include <IFileSystem.h>
#include <ILightSceneNode.h> #include <ILightSceneNode.h>
#include <IMeshCache.h> #include <IMeshCache.h>
#include <IMeshManipulator.h> #include <IMeshManipulator.h>