diff --git a/src/slic3r/Config/Snapshot.cpp b/src/slic3r/Config/Snapshot.cpp index fa756f49d..2264afa7d 100644 --- a/src/slic3r/Config/Snapshot.cpp +++ b/src/slic3r/Config/Snapshot.cpp @@ -5,11 +5,12 @@ #include #include -#include #include #include #include -#include +#include +#include + #include "libslic3r/libslic3r.h" #include "libslic3r/Time.hpp" diff --git a/src/slic3r/Config/Snapshot.hpp b/src/slic3r/Config/Snapshot.hpp index 9a7391691..c6bd5c6e8 100644 --- a/src/slic3r/Config/Snapshot.hpp +++ b/src/slic3r/Config/Snapshot.hpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include "libslic3r/Semver.hpp" #include "Version.hpp" @@ -18,7 +18,6 @@ class AppConfig; namespace GUI { namespace Config { -class Index; // A snapshot contains: // Slic3r.ini diff --git a/src/slic3r/Config/Version.cpp b/src/slic3r/Config/Version.cpp index 2d036e9f3..d00e4a2ab 100644 --- a/src/slic3r/Config/Version.cpp +++ b/src/slic3r/Config/Version.cpp @@ -2,8 +2,7 @@ #include -#include -#include +#include #include #include "libslic3r/libslic3r.h" diff --git a/src/slic3r/Config/Version.hpp b/src/slic3r/Config/Version.hpp index 881b856ff..8249573de 100644 --- a/src/slic3r/Config/Version.hpp +++ b/src/slic3r/Config/Version.hpp @@ -4,7 +4,7 @@ #include #include -#include +#include #include "libslic3r/FileParserError.hpp" #include "libslic3r/Semver.hpp" @@ -54,7 +54,7 @@ struct Version class Index { public: - typedef std::vector::const_iterator const_iterator; + typedef std::vector::const_iterator const_iterator; // Read a config index file in the simple format described in the Index class comment. // Throws Slic3r::file_parser_error and the standard std file access exceptions. size_t load(const boost::filesystem::path &path); diff --git a/src/slic3r/GUI/2DBed.cpp b/src/slic3r/GUI/2DBed.cpp index d2075f673..debd104ef 100644 --- a/src/slic3r/GUI/2DBed.cpp +++ b/src/slic3r/GUI/2DBed.cpp @@ -166,4 +166,4 @@ void Bed_2D::set_pos(const Vec2d& pos) } } // GUI -} // Slic3r \ No newline at end of file +} // Slic3r diff --git a/src/slic3r/GUI/3DBed.cpp b/src/slic3r/GUI/3DBed.cpp index 23acd18ef..742941b84 100644 --- a/src/slic3r/GUI/3DBed.cpp +++ b/src/slic3r/GUI/3DBed.cpp @@ -8,7 +8,6 @@ #include "GUI_App.hpp" #include "PresetBundle.hpp" -#include "Gizmos/GLGizmoBase.hpp" #include "GLCanvas3D.hpp" #include @@ -630,4 +629,4 @@ void Bed3D::reset() } } // GUI -} // Slic3r \ No newline at end of file +} // Slic3r diff --git a/src/slic3r/GUI/3DScene.cpp b/src/slic3r/GUI/3DScene.cpp index 9f36ab537..de56546ac 100644 --- a/src/slic3r/GUI/3DScene.cpp +++ b/src/slic3r/GUI/3DScene.cpp @@ -17,23 +17,17 @@ #include #include #include -#include #include #include #include -#include +#include #include -#include -#include - #include -#include "GUI.hpp" - #ifdef HAS_GLSAFE void glAssertRecentCallImpl(const char *file_name, unsigned int line, const char *function_name) { diff --git a/src/slic3r/GUI/3DScene.hpp b/src/slic3r/GUI/3DScene.hpp index aed907004..1fc8308f7 100644 --- a/src/slic3r/GUI/3DScene.hpp +++ b/src/slic3r/GUI/3DScene.hpp @@ -10,7 +10,6 @@ #include "slic3r/GUI/GLCanvas3DManager.hpp" #include -#include #ifndef NDEBUG #define HAS_GLSAFE @@ -34,13 +33,8 @@ struct Camera; class GLToolbar; } // namespace GUI -class Print; -class PrintObject; -class SLAPrint; class SLAPrintObject; enum SLAPrintObjectStep : unsigned int; -class Model; -class ModelObject; class DynamicPrintConfig; class ExtrusionPath; class ExtrusionMultiPath; diff --git a/src/slic3r/GUI/AboutDialog.cpp b/src/slic3r/GUI/AboutDialog.cpp index 30892d9c9..3273db514 100644 --- a/src/slic3r/GUI/AboutDialog.cpp +++ b/src/slic3r/GUI/AboutDialog.cpp @@ -2,8 +2,9 @@ #include "I18N.hpp" #include "libslic3r/Utils.hpp" +#include "GUI.hpp" #include "GUI_App.hpp" -#include "wxExtensions.hpp" + namespace Slic3r { namespace GUI { diff --git a/src/slic3r/GUI/AboutDialog.hpp b/src/slic3r/GUI/AboutDialog.hpp index 5fec21495..f1e26fde4 100644 --- a/src/slic3r/GUI/AboutDialog.hpp +++ b/src/slic3r/GUI/AboutDialog.hpp @@ -1,8 +1,6 @@ #ifndef slic3r_GUI_AboutDialog_hpp_ #define slic3r_GUI_AboutDialog_hpp_ -#include "GUI.hpp" - #include #include #include diff --git a/src/slic3r/GUI/AppConfig.cpp b/src/slic3r/GUI/AppConfig.cpp index 35799e046..0a3d080c3 100644 --- a/src/slic3r/GUI/AppConfig.cpp +++ b/src/slic3r/GUI/AppConfig.cpp @@ -2,22 +2,18 @@ #include "libslic3r/Utils.hpp" #include "AppConfig.hpp" -#include -#include -#include #include -#include #include #include -#include +#include +#include #include #include #include -#include -#include +#include #include -#include +#include #include #include "I18N.hpp" diff --git a/src/slic3r/GUI/BackgroundSlicingProcess.cpp b/src/slic3r/GUI/BackgroundSlicingProcess.cpp index f22d54e2b..0cd710b83 100644 --- a/src/slic3r/GUI/BackgroundSlicingProcess.cpp +++ b/src/slic3r/GUI/BackgroundSlicingProcess.cpp @@ -25,17 +25,16 @@ #include #include #include -#include -#include -#include -#include +#include +#include #include #include #include "I18N.hpp" -#include "GUI.hpp" #include "RemovableDriveManager.hpp" +#include "slic3r/Utils/Thread.hpp" + namespace Slic3r { BackgroundSlicingProcess::BackgroundSlicingProcess() diff --git a/src/slic3r/GUI/BackgroundSlicingProcess.hpp b/src/slic3r/GUI/BackgroundSlicingProcess.hpp index c8ece38f0..6373bad7e 100644 --- a/src/slic3r/GUI/BackgroundSlicingProcess.hpp +++ b/src/slic3r/GUI/BackgroundSlicingProcess.hpp @@ -5,13 +5,13 @@ #include #include -#include +#include #include #include "libslic3r/Print.hpp" #include "slic3r/Utils/PrintHost.hpp" -#include "slic3r/Utils/Thread.hpp" + namespace Slic3r {