summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-07-22 22:30:24 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-03 11:39:02 -0500
commit93d1c97fdaff456943ca398562ac04d6c7f4ed6a (patch)
tree96314be1bf06afa1abc1b2eb044ed034c70d9469 /src/main.cpp
parentcf289d7f95f6b5730cceaa8e6e22b4b33cf050c8 (diff)
cleaned up includes
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp61
1 files changed, 5 insertions, 56 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5ae8999c..23ec91da 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -17,83 +17,32 @@ You should have received a copy of the GNU General Public License
along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#ifdef LEAK_CHECK_WITH_VLD
-#include <wchar.h>
-#include <vld.h>
-#endif // LEAK_CHECK_WITH_VLD
-
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#include <DbgHelp.h>
-
-#include "shared/appconfig.h"
-#include <utility.h>
-#include <scopeguard.h>
#include "mainwindow.h"
-#include <report.h>
-#include "modlist.h"
-#include "profile.h"
-#include "spawn.h"
-#include "executableslist.h"
#include "singleinstance.h"
-#include "utility.h"
#include "loglist.h"
#include "selectiondialog.h"
#include "moapplication.h"
#include "tutorialmanager.h"
#include "nxmaccessmanager.h"
#include "instancemanager.h"
-#include "moshortcut.h"
#include "organizercore.h"
#include "env.h"
#include "envmodule.h"
-#include "shared/util.h"
#include "commandline.h"
-#include <eh.h>
-#include "shared/windows_error.h"
+#include "shared/util.h"
+#include "shared/appconfig.h"
+
+#include <report.h>
#include <usvfs.h>
#include <log.h>
-
-#include <QApplication>
-#include <QPushButton>
-#include <QListWidget>
-#include <QComboBox>
-#include <QCheckBox>
-#include <QDir>
-#include <QFileInfo>
-#include <QWhatsThis>
-#include <QToolBar>
-#include <QFileDialog>
-#include <QDesktopServices>
-#include <QMessageBox>
-#include <QSharedMemory>
-#include <QBuffer>
-#include <QSplashScreen>
-#include <QDirIterator>
-#include <QDesktopServices>
-#include <QLibraryInfo>
-#include <QSslSocket>
-#include <QtPlatformHeaders/QWindowsWindowFunctions>
-
-#include <boost/scoped_array.hpp>
-
-#include <ShellAPI.h>
-
-#include <cstdarg>
-#include <iostream>
-#include <sstream>
-#include <stdexcept>
-
+#include <utility.h>
#pragma comment(linker, "/manifestDependency:\"name='dlls' processorArchitecture='x86' version='1.0.0.0' type='win32' \"")
-
using namespace MOBase;
using namespace MOShared;
-
void sanityChecks(const env::Environment& env);
int checkIncompatibleModule(const env::Module& m);
int checkPathsForSanity(MOBase::IPluginGame& game, const Settings& s);