purge unnecessary imports

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back
pull/1314/head
Bret Curtis 8 years ago
parent d799954ca0
commit c781d1f8ed

@ -11,7 +11,6 @@
#include <components/esm/loadrace.hpp> #include <components/esm/loadrace.hpp>
#include <components/esm/loadspel.hpp> #include <components/esm/loadspel.hpp>
#include <components/esm/loadweap.hpp> #include <components/esm/loadweap.hpp>
#include <components/esm/aipackage.hpp>
#include <boost/format.hpp> #include <boost/format.hpp>

@ -1,8 +1,8 @@
#include "importer.hpp" #include "importer.hpp"
#include <iomanip> #include <iomanip>
#include <utility>
#include <boost/filesystem/fstream.hpp>
#include <osgDB/ReadFile> #include <osgDB/ReadFile>
#include <osg/ImageUtils> #include <osg/ImageUtils>

@ -1,17 +1,12 @@
#include "importer.hpp" #include "importer.hpp"
#include <ctime>
#include <iostream> #include <iostream>
#include <string>
#include <map>
#include <vector>
#include <algorithm>
#include <sstream> #include <sstream>
#include <components/misc/stringops.hpp> #include <components/misc/stringops.hpp>
#include <boost/version.hpp>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp> #include <boost/filesystem/fstream.hpp>
#include <boost/version.hpp>
namespace bfs = boost::filesystem; namespace bfs = boost::filesystem;

@ -1,11 +1,9 @@
#include "importer.hpp" #include "importer.hpp"
#include <string>
#include <iostream> #include <iostream>
#include <boost/program_options.hpp> #include <boost/program_options.hpp>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/fstream.hpp> #include <boost/filesystem/fstream.hpp>
namespace bpo = boost::program_options; namespace bpo = boost::program_options;

@ -5,6 +5,7 @@
#include <iostream> #include <iostream>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include "../world/defaultgmsts.hpp" #include "../world/defaultgmsts.hpp"

@ -1,8 +1,5 @@
#include "documentmanager.hpp" #include "documentmanager.hpp"
#include <algorithm>
#include <stdexcept>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#ifndef Q_MOC_RUN #ifndef Q_MOC_RUN

@ -1,20 +1,15 @@
#include "savingstages.hpp" #include "savingstages.hpp"
#include <fstream>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <QUndoStack> #include <QUndoStack>
#include <components/esm/loaddial.hpp> #include <components/esm/loaddial.hpp>
#include <components/misc/stringops.hpp>
#include "../world/infocollection.hpp" #include "../world/infocollection.hpp"
#include "../world/cellcoordinates.hpp" #include "../world/cellcoordinates.hpp"
#include "document.hpp" #include "document.hpp"
#include "savingstate.hpp"
CSMDoc::OpenSaveStage::OpenSaveStage (Document& document, SavingState& state, bool projectFile) CSMDoc::OpenSaveStage::OpenSaveStage (Document& document, SavingState& state, bool projectFile)
: mDocument (document), mState (state), mProjectFile (projectFile) : mDocument (document), mState (state), mProjectFile (projectFile)

@ -1,5 +1,7 @@
#include "savingstate.hpp" #include "savingstate.hpp"
#include <boost/filesystem/fstream.hpp>
#include "operation.hpp" #include "operation.hpp"
#include "document.hpp" #include "document.hpp"

@ -1,8 +1,5 @@
#include "adjusterwidget.hpp" #include "adjusterwidget.hpp"
#include <stdexcept>
#include <string>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <boost/algorithm/string/case_conv.hpp> #include <boost/algorithm/string/case_conv.hpp>

@ -1,6 +1,5 @@
#include "engine.hpp" #include "engine.hpp"
#include <stdexcept>
#include <iomanip> #include <iomanip>
#include <boost/filesystem/fstream.hpp> #include <boost/filesystem/fstream.hpp>
@ -28,7 +27,6 @@
#include <components/sceneutil/workqueue.hpp> #include <components/sceneutil/workqueue.hpp>
#include <components/files/configurationmanager.hpp> #include <components/files/configurationmanager.hpp>
#include <components/translation/translation.hpp>
#include <components/version/version.hpp> #include <components/version/version.hpp>

@ -8,6 +8,8 @@
#include <SDL_messagebox.h> #include <SDL_messagebox.h>
#include "engine.hpp" #include "engine.hpp"
#include <boost/filesystem/fstream.hpp>
#if defined(_WIN32) #if defined(_WIN32)
// For OutputDebugString // For OutputDebugString
#ifndef WIN32_LEAN_AND_MEAN #ifndef WIN32_LEAN_AND_MEAN
@ -31,7 +33,6 @@ extern int cc_install_handlers(int argc, char **argv, int num_signals, int *sigs
extern int is_debugger_attached(void); extern int is_debugger_attached(void);
#endif #endif
#include <boost/version.hpp>
/** /**
* Workaround for problems with whitespaces in paths in older versions of Boost library * Workaround for problems with whitespaces in paths in older versions of Boost library
*/ */

@ -2,13 +2,10 @@
#include <MyGUI_ListBox.h> #include <MyGUI_ListBox.h>
#include <MyGUI_ImageBox.h> #include <MyGUI_ImageBox.h>
#include <MyGUI_RenderManager.h>
#include <MyGUI_Gui.h> #include <MyGUI_Gui.h>
#include <osg/Texture2D> #include <osg/Texture2D>
#include <boost/format.hpp>
#include <components/myguiplatform/myguitexture.hpp> #include <components/myguiplatform/myguitexture.hpp>
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"

@ -1,15 +1,9 @@
#include "npcstats.hpp" #include "npcstats.hpp"
#include <cmath>
#include <stdexcept>
#include <vector>
#include <algorithm>
#include <iomanip> #include <iomanip>
#include <boost/format.hpp> #include <boost/format.hpp>
#include <components/esm/loadskil.hpp>
#include <components/esm/loadclas.hpp> #include <components/esm/loadclas.hpp>
#include <components/esm/loadgmst.hpp> #include <components/esm/loadgmst.hpp>
#include <components/esm/loadfact.hpp> #include <components/esm/loadfact.hpp>

@ -10,8 +10,6 @@
#include <osg/PositionAttitudeTransform> #include <osg/PositionAttitudeTransform>
#include <osg/ClipNode> #include <osg/ClipNode>
#include <osg/FrontFace> #include <osg/FrontFace>
#include <osg/Shader>
#include <osg/GLExtensions>
#include <osgDB/ReadFile> #include <osgDB/ReadFile>

@ -10,7 +10,6 @@
#include <components/compiler/opcodes.hpp> #include <components/compiler/opcodes.hpp>
#include <components/interpreter/interpreter.hpp> #include <components/interpreter/interpreter.hpp>
#include <components/interpreter/runtime.hpp>
#include <components/interpreter/opcodes.hpp> #include <components/interpreter/opcodes.hpp>
#include <components/misc/stringops.hpp> #include <components/misc/stringops.hpp>

@ -1,18 +1,12 @@
#include "character.hpp" #include "character.hpp"
#include <ctime>
#include <sstream> #include <sstream>
#include <algorithm>
#include <stdexcept>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <components/esm/esmreader.hpp> #include <components/esm/esmreader.hpp>
#include <components/esm/defs.hpp> #include <components/esm/defs.hpp>
#include <components/misc/stringops.hpp>
bool MWState::operator< (const Slot& left, const Slot& right) bool MWState::operator< (const Slot& left, const Slot& right)
{ {
return left.mTimeStamp<right.mTimeStamp; return left.mTimeStamp<right.mTimeStamp;

@ -1,8 +1,6 @@
#include "charactermanager.hpp" #include "charactermanager.hpp"
#include <sstream> #include <sstream>
#include <stdexcept>
#include <cctype> // std::isalnum
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>

@ -7,8 +7,6 @@
#include <components/loadinglistener/loadinglistener.hpp> #include <components/loadinglistener/loadinglistener.hpp>
#include <components/misc/stringops.hpp>
#include <components/settings/settings.hpp> #include <components/settings/settings.hpp>
#include <osg/Image> #include <osg/Image>
@ -35,7 +33,6 @@
#include "../mwworld/inventorystore.hpp" #include "../mwworld/inventorystore.hpp"
#include "../mwmechanics/npcstats.hpp" #include "../mwmechanics/npcstats.hpp"
#include "../mwmechanics/creaturestats.hpp"
#include "../mwmechanics/actorutil.hpp" #include "../mwmechanics/actorutil.hpp"
#include "../mwscript/globalscripts.hpp" #include "../mwscript/globalscripts.hpp"

@ -23,7 +23,6 @@
#include "bsa_file.hpp" #include "bsa_file.hpp"
#include <stdexcept>
#include <cassert> #include <cassert>
#include <boost/filesystem/path.hpp> #include <boost/filesystem/path.hpp>

@ -1,17 +1,12 @@
#include "configurationmanager.hpp" #include "configurationmanager.hpp"
#include <string>
#include <iostream> #include <iostream>
#include <algorithm>
#include <ctype.h>
#include <components/files/escape.hpp> #include <components/files/escape.hpp>
#include <boost/algorithm/string/erase.hpp> #include <boost/algorithm/string/erase.hpp>
#include <boost/algorithm/string/replace.hpp> #include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem/fstream.hpp> #include <boost/filesystem/fstream.hpp>
#include <boost/iostreams/filtering_stream.hpp>
/** /**
* \namespace Files * \namespace Files
*/ */

@ -1,7 +1,6 @@
#include "escape.hpp" #include "escape.hpp"
#include <boost/algorithm/string/replace.hpp> #include <boost/algorithm/string/replace.hpp>
#include <boost/program_options.hpp>
namespace Files namespace Files
{ {

@ -2,10 +2,7 @@
#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) #if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
#include <cstdlib>
#include <cstring>
#include <pwd.h> #include <pwd.h>
#include <unistd.h>
#include <boost/filesystem/fstream.hpp> #include <boost/filesystem/fstream.hpp>
#include <components/misc/stringops.hpp> #include <components/misc/stringops.hpp>

@ -1,15 +1,9 @@
#include "multidircollection.hpp" #include "multidircollection.hpp"
#include <cctype>
#include <algorithm>
#include <stdexcept>
#include <iostream> #include <iostream>
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#include <components/misc/stringops.hpp>
namespace Files namespace Files
{ {
struct NameEqual struct NameEqual

@ -1,9 +1,6 @@
#include "myguiloglistener.hpp" #include "myguiloglistener.hpp"
#include <iomanip> #include <iomanip>
#include <time.h>
#include <boost/filesystem/path.hpp>
namespace osgMyGUI namespace osgMyGUI
{ {

@ -1,13 +1,11 @@
#include "settings.hpp" #include "settings.hpp"
#include <stdexcept>
#include <sstream> #include <sstream>
#include <iostream> #include <iostream>
#include <components/misc/stringops.hpp> #include <components/misc/stringops.hpp>
#include <boost/filesystem/fstream.hpp> #include <boost/filesystem/fstream.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
namespace namespace

@ -2,8 +2,6 @@
#include <boost/filesystem/fstream.hpp> #include <boost/filesystem/fstream.hpp>
#include <components/misc/stringops.hpp>
namespace Translation namespace Translation
{ {
Storage::Storage() Storage::Storage()

Loading…
Cancel
Save