Add Missing Includes Across src/slic3r/GUI

Every GUI source and header now directly includes the headers declaring what it uses, rather than relying on the precompiled header or transitive includes. Generated with clang-tidy misc-include-cleaner, plus one hand edit making CalibrationPanel.hpp self-contained.
This commit is contained in:
Hanif Koh
2026-10-01 23:46:58 +08:00
parent 2f4758446a
commit db4e2f7ced
686 changed files with 7987 additions and 1 deletions
+36
View File
@@ -1,4 +1,5 @@
#include "MediaPlayCtrl.h"
#include "PrinterNetworkTypes.hpp"
#include "WebMediaController.hpp"
#include "IPrinterAgent.hpp"
#include "Widgets/Button.hpp"
@@ -8,6 +9,7 @@
#include "GUI.hpp"
#include "DeviceManager.hpp"
#include "DeviceCore/DevConfigUtil.h"
#include "libslic3r_version.h"
#include "slic3r/Utils/NetworkAgent.hpp"
#include "slic3r/Utils/NetworkAgentFactory.hpp"
#include "libslic3r/Thread.hpp"
@@ -20,13 +22,47 @@
#include <algorithm>
#include <boost/chrono/duration.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/filesystem/file_status.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/log/trivial.hpp>
#include <boost/nowide/cstdio.hpp>
#include <boost/nowide/fstream.hpp>
#include <boost/nowide/utf8_codecvt.hpp>
#include <map>
#include "libslic3r/Utils.hpp"
#include <cstring>
#include <boost/thread/lock_types.hpp>
#include <memory>
#include <cstddef>
#include <cstdlib>
#include <cstdio>
#include <boost/process/pipe.hpp>
#include <boost/process/start_dir.hpp>
#include <boost/process/io.hpp>
#include <boost/process/handles.hpp>
#include <exception>
#include <slic3r/GUI/DeviceManager.hpp>
#include <string>
#include "slic3r/GUI/wxMediaCtrl3.h"
#include <wx/gdicmn.h>
#include <wx/event.h>
#include <wx/colour.h>
#include <wx/dataobj.h>
#include <wx/image.h>
#include <wx/datetime.h>
#include <vector>
#include <utility>
#include "slic3r/GUI/Jobs/UpgradeNetworkJob.hpp"
#include <sys/types.h>
#include <wx/mediactrl.h>
#include <wx/panel.h>
#include <wx/utils.h>
#include <wx/uri.h>
#undef pid_t
#include <boost/process.hpp>
#ifdef __WIN32__