diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/ComponentEntityEditorPlugin.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/ComponentEntityEditorPlugin.cpp index e26b49af32..d0b7ba9e6e 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/ComponentEntityEditorPlugin.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/ComponentEntityEditorPlugin.cpp @@ -5,7 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" #include "ComponentEntityEditorPlugin.h" #include diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/ComponentEntityEditorPlugin_precompiled.h b/Code/Editor/Plugins/ComponentEntityEditorPlugin/ComponentEntityEditorPlugin_precompiled.h deleted file mode 100644 index a80ca3ace2..0000000000 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/ComponentEntityEditorPlugin_precompiled.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. - * - * SPDX-License-Identifier: Apache-2.0 OR MIT - * - */ -#pragma once - -#include - -///////////////////////////////////////////////////////////////////////////// -// Engine -///////////////////////////////////////////////////////////////////////////// -#include -#include -#include -#include -#include -#include - -///////////////////////////////////////////////////////////////////////////// -// STL -///////////////////////////////////////////////////////////////////////////// -#include -#include -#include -#include -#include - -#ifdef CreateDirectory -#undef CreateDirectory -#endif diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/Objects/ComponentEntityObject.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/Objects/ComponentEntityObject.cpp index e18909d9bc..db4f32498c 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/Objects/ComponentEntityObject.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/Objects/ComponentEntityObject.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "ComponentEntityObject.h" diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.cpp index 77d51194bd..3c704a7e07 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/SandboxIntegration.cpp @@ -4,8 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "SandboxIntegration.h" #include @@ -82,6 +80,7 @@ #include #include #include +#include #include #include "CryEdit.h" diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/Tests/ComponentEntityObjectStateTests.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/Tests/ComponentEntityObjectStateTests.cpp index c033d7f3d5..612105f725 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/Tests/ComponentEntityObjectStateTests.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/Tests/ComponentEntityObjectStateTests.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include #include #include diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/Tests/test_Main.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/Tests/test_Main.cpp index d44a1cb318..ccff4f8b1a 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/Tests/test_Main.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/Tests/test_Main.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include #include diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/AssetCatalogModel.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/AssetCatalogModel.cpp index 2f22bb57cc..d982a4ab47 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/AssetCatalogModel.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/AssetCatalogModel.cpp @@ -5,8 +5,7 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - +#include #include "CryEdit.h" #include "AssetCatalogModel.h" #include "Objects/ComponentEntityObject.h" diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/CategoriesList.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/CategoriesList.cpp index 44f1a23b73..2180e65a9c 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/CategoriesList.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/CategoriesList.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "CategoriesList.h" ComponentCategoryList::ComponentCategoryList(QWidget* parent /*= nullptr*/) diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentDataModel.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentDataModel.cpp index 6e0d6a5450..3ef37ac53a 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentDataModel.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentDataModel.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "ComponentDataModel.h" #include "Include/IObjectManager.h" diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentPaletteWindow.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentPaletteWindow.cpp index a899a0f864..2781b0f671 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentPaletteWindow.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentPaletteWindow.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "ComponentPaletteWindow.h" #include "ComponentDataModel.h" #include "FavoriteComponentList.h" @@ -26,6 +24,7 @@ #include #include +#include ComponentPaletteWindow::ComponentPaletteWindow(QWidget* parent) : QMainWindow(parent) diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentPaletteWindow.h b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentPaletteWindow.h index 106732e843..38211d7d03 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentPaletteWindow.h +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/ComponentPaletteWindow.h @@ -8,6 +8,7 @@ #pragma once #if !defined(Q_MOC_RUN) +#include #include #endif diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/FavoriteComponentList.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/FavoriteComponentList.cpp index b61f384a13..5e48ac59bc 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/FavoriteComponentList.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/FavoriteComponentList.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "FavoriteComponentList.h" #include #include diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/FilteredComponentList.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/FilteredComponentList.cpp index 5bf84fd61b..1a10dc20c7 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/FilteredComponentList.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/FilteredComponentList.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "ComponentDataModel.h" #include "FavoriteComponentList.h" #include "FilteredComponentList.h" diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/InformationPanel.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/InformationPanel.cpp index a8f2090226..ac6a3d4976 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/InformationPanel.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/ComponentPalette/InformationPanel.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "InformationPanel.h" // TODO: LMBR-28174 diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerDisplayOptionsMenu.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerDisplayOptionsMenu.cpp index a6c1ed6598..e305f6bec1 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerDisplayOptionsMenu.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerDisplayOptionsMenu.cpp @@ -4,8 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "OutlinerDisplayOptionsMenu.h" #include diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerListModel.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerListModel.cpp index 3f62acda62..cfc194206e 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerListModel.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerListModel.cpp @@ -4,8 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "OutlinerListModel.hxx" #include @@ -64,6 +62,7 @@ #include #include +#include //////////////////////////////////////////////////////////////////////////// // OutlinerListModel diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSearchWidget.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSearchWidget.cpp index b76f0826b2..8ed9790f0b 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSearchWidget.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSearchWidget.cpp @@ -4,10 +4,9 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "OutlinerSearchWidget.h" +#include #include #include #include @@ -15,6 +14,7 @@ #include #include #include +#include namespace AzQtComponents { diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSearchWidget.h b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSearchWidget.h index 6b95068af5..d52feb7b7d 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSearchWidget.h +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSearchWidget.h @@ -18,6 +18,7 @@ #if !defined(DEFINED_QMETATYPE_UUID) #define DEFINED_QMETATYPE_UUID +#include Q_DECLARE_METATYPE(AZ::Uuid); #endif diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSortFilterProxyModel.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSortFilterProxyModel.cpp index 89cd361fb6..d8ce13b310 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSortFilterProxyModel.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerSortFilterProxyModel.cpp @@ -4,8 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "OutlinerSortFilterProxyModel.hxx" #include diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerTreeView.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerTreeView.cpp index 9df6f4eac0..4eae903a58 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerTreeView.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerTreeView.cpp @@ -4,8 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "OutlinerTreeView.hxx" #include "OutlinerListModel.hxx" @@ -18,6 +16,7 @@ #include #include #include +#include OutlinerTreeView::OutlinerTreeView(QWidget* pParent) : QTreeView(pParent) diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerWidget.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerWidget.cpp index 02dabb8b20..9207a24a03 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerWidget.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/Outliner/OutlinerWidget.cpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: Apache-2.0 OR MIT * */ -#include "ComponentEntityEditorPlugin_precompiled.h" +#include #include "MainWindow.h" // for MainWindow #include "OutlinerListModel.hxx" diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorMainWindow.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorMainWindow.cpp index ad9bf00e79..cd897caced 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorMainWindow.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorMainWindow.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "UI/QComponentEntityEditorMainWindow.h" #include diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorMainWindow.h b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorMainWindow.h index d5da6135f2..7c0aa4a87c 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorMainWindow.h +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorMainWindow.h @@ -10,6 +10,8 @@ #include #include + +#include #endif class QObjectPropertyModel; diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorOutlinerWindow.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorOutlinerWindow.cpp index c58ec25cc4..340f74e033 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorOutlinerWindow.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentEntityEditorOutlinerWindow.cpp @@ -5,8 +5,7 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - +#include #include "CryEdit.h" #include "UI/QComponentEntityEditorOutlinerWindow.h" #include "UI/Outliner/OutlinerWidget.hxx" diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentLevelEntityEditorMainWindow.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentLevelEntityEditorMainWindow.cpp index 471ca7dad3..5e1b288f44 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentLevelEntityEditorMainWindow.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/UI/QComponentLevelEntityEditorMainWindow.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - #include "UI/QComponentLevelEntityEditorMainWindow.h" #include diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/componententityeditorplugin_files.cmake b/Code/Editor/Plugins/ComponentEntityEditorPlugin/componententityeditorplugin_files.cmake index 1f7c3c0388..fe452a4e42 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/componententityeditorplugin_files.cmake +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/componententityeditorplugin_files.cmake @@ -11,7 +11,6 @@ set(FILES ComponentEntityEditorPlugin.cpp SandboxIntegration.h SandboxIntegration.cpp - ComponentEntityEditorPlugin_precompiled.h UI/QComponentEntityEditorMainWindow.h UI/QComponentEntityEditorMainWindow.cpp UI/QComponentLevelEntityEditorMainWindow.h diff --git a/Code/Editor/Plugins/ComponentEntityEditorPlugin/dllmain.cpp b/Code/Editor/Plugins/ComponentEntityEditorPlugin/dllmain.cpp index 8e648bced8..aac4de5491 100644 --- a/Code/Editor/Plugins/ComponentEntityEditorPlugin/dllmain.cpp +++ b/Code/Editor/Plugins/ComponentEntityEditorPlugin/dllmain.cpp @@ -5,8 +5,6 @@ * */ -#include "ComponentEntityEditorPlugin_precompiled.h" - // All plugins suffer from the following warning: // warning C4273: 'GetIEditor' : inconsistent dll linkage // GetIEditor() is forward-declared using EDITOR_CORE_API, which without EDITOR_CORE set,