Remove extra header define checks (#27851)
This commit is contained in:
@@ -21,8 +21,7 @@
|
||||
* *
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef APP_APPLICATIONPY_H
|
||||
#define APP_APPLICATIONPY_H
|
||||
#pragma once
|
||||
|
||||
#include <Base/PyObjectBase.h>
|
||||
|
||||
@@ -90,5 +89,3 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // APP_APPLICATIONPY_H
|
||||
|
||||
+1
-3
@@ -26,9 +26,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <Base/Bitmask.h>
|
||||
#ifndef FC_GLOBAL_H
|
||||
#include <FCGlobal.h>
|
||||
#endif
|
||||
|
||||
namespace App
|
||||
{
|
||||
@@ -264,4 +262,4 @@ private:
|
||||
|
||||
} // namespace App
|
||||
|
||||
ENABLE_BITMASK_OPERATORS(App::CellAddress::Cell)
|
||||
ENABLE_BITMASK_OPERATORS(App::CellAddress::Cell)
|
||||
|
||||
@@ -31,9 +31,7 @@
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
#include <Base/Tools3D.h>
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
#include "Placement.h"
|
||||
|
||||
|
||||
+1
-3
@@ -27,9 +27,7 @@
|
||||
|
||||
#include <QEventLoop>
|
||||
#include <QObject>
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
namespace Base
|
||||
{
|
||||
|
||||
+1
-3
@@ -29,9 +29,7 @@
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
|
||||
namespace Base
|
||||
|
||||
+1
-3
@@ -26,9 +26,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
|
||||
class QAtomicInt;
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
|
||||
#include <xercesc/util/BinInputStream.hpp>
|
||||
#include <xercesc/sax/InputSource.hpp>
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
namespace XERCES_CPP_NAMESPACE
|
||||
{
|
||||
|
||||
+1
-3
@@ -30,9 +30,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "Vector3D.h"
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
|
||||
namespace Base
|
||||
|
||||
@@ -73,9 +73,7 @@ extern "C" { /* a C library, but callable from C++ */
|
||||
# undef _POSIX_C_SOURCE
|
||||
#endif // (re-)defined in pyconfig.h
|
||||
#include <Python.h>
|
||||
#ifndef FC_GLOBAL_H
|
||||
#include <FCGlobal.h>
|
||||
#endif
|
||||
|
||||
extern int PP_RELOAD; /* 1=reload py modules when attributes referenced */
|
||||
extern int PP_DEBUG; /* 1=start debugger when string/function/member run */
|
||||
|
||||
+1
-3
@@ -26,9 +26,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Vector3D.h"
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
namespace Base
|
||||
{
|
||||
|
||||
@@ -45,9 +45,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Windows.h>
|
||||
#ifndef FC_GLOBAL_H
|
||||
#include <FCGlobal.h>
|
||||
#endif
|
||||
|
||||
// special defines for VC5/6 (if no actual PSDK is installed):
|
||||
#if _MSC_VER < 1300
|
||||
|
||||
+1
-3
@@ -25,9 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <numbers>
|
||||
|
||||
+1
-3
@@ -30,9 +30,7 @@
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
|
||||
namespace Base
|
||||
|
||||
+1
-3
@@ -25,9 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
#include <QTranslator>
|
||||
#include <memory>
|
||||
#include <list>
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
namespace Py
|
||||
{
|
||||
|
||||
+1
-3
@@ -31,9 +31,7 @@
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
namespace Base
|
||||
{
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <set>
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
+1
-3
@@ -28,9 +28,7 @@
|
||||
// Std. configurations
|
||||
|
||||
#include <string>
|
||||
#ifndef FC_GLOBAL_H
|
||||
# include <FCGlobal.h>
|
||||
#endif
|
||||
#include <FCGlobal.h>
|
||||
|
||||
namespace Base
|
||||
{
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef ASSEMBLYGUI_COMMANDS_H
|
||||
#define ASSEMBLYGUI_COMMANDS_H
|
||||
#pragma once
|
||||
|
||||
#include <Mod/Assembly/App/AssemblyObject.h>
|
||||
|
||||
@@ -32,5 +31,3 @@ namespace AssemblyGui
|
||||
void CreateAssemblyCommands();
|
||||
|
||||
} // namespace AssemblyGui
|
||||
|
||||
#endif // ASSEMBLYGUI_COMMANDS_H
|
||||
|
||||
@@ -22,8 +22,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef PATHSIMULATOR_VIEWCAMSIMULATOR_H
|
||||
#define PATHSIMULATOR_VIEWCAMSIMULATOR_H
|
||||
#pragma once
|
||||
|
||||
#include <Gui/MDIView.h>
|
||||
|
||||
@@ -49,5 +48,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace CAMSimulator
|
||||
|
||||
#endif /* PATHSIMULATOR_VIEWCAMSIMULATOR_H */
|
||||
|
||||
@@ -25,9 +25,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <Mod/Mesh/App/WildMagic4/Wm4QuadricSurface.h>
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <list>
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
#include <limits>
|
||||
|
||||
|
||||
@@ -27,9 +27,7 @@
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
namespace Mesh
|
||||
{
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
#include <Base/Vector3D.h>
|
||||
#include <Base/Handle.h>
|
||||
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
using Base::Vector3d;
|
||||
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
#include <Gui/PropertyPage.h>
|
||||
|
||||
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
#include <memory>
|
||||
|
||||
#include <Gui/PropertyPage.h>
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
class QButtonGroup;
|
||||
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
|
||||
#include <Gui/Selection/SelectionObject.h>
|
||||
#include <Inventor/nodes/SoEventCallback.h>
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
|
||||
namespace Gui
|
||||
|
||||
@@ -25,10 +25,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Gui/propertyeditor/PropertyItem.h>
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
namespace MeshGui
|
||||
{
|
||||
|
||||
@@ -28,9 +28,7 @@
|
||||
|
||||
#include <Gui/TaskView/TaskDialog.h>
|
||||
#include <Gui/TaskView/TaskView.h>
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
|
||||
// forward declarations
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
#include <Inventor/fields/SoSFBool.h>
|
||||
#include <Inventor/nodes/SoIndexedFaceSet.h>
|
||||
#include <vector>
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
|
||||
class SoGLCoordinateElement;
|
||||
|
||||
@@ -28,9 +28,7 @@
|
||||
#include <Inventor/fields/SoSFBool.h>
|
||||
#include <Inventor/fields/SoSFInt32.h>
|
||||
#include <Inventor/nodes/SoShape.h>
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
|
||||
namespace MeshGui
|
||||
|
||||
@@ -25,9 +25,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Gui/Workbench.h>
|
||||
#ifndef MESH_GLOBAL_H
|
||||
# include <Mod/Mesh/MeshGlobal.h>
|
||||
#endif
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
|
||||
namespace MeshGui
|
||||
|
||||
Reference in New Issue
Block a user