[Base] Py and Placement: remove unused includes

This commit is contained in:
Uwe
2022-03-01 01:24:50 +01:00
parent f20840442f
commit 9a42b61fcb
8 changed files with 12 additions and 19 deletions

View File

@@ -22,17 +22,19 @@
#include "PreCompiled.h"
#include "Writer.h"
#include "Reader.h"
#include "PyObjectBase.h"
#ifndef _PreComp_
#include <cassert>
#endif
#include "Exception.h"
#include "Reader.h"
#include "Writer.h"
/// Here the FreeCAD includes sorted by Base,App,Gui......
#include "Persistence.h"
using namespace Base;
TYPESYSTEM_SOURCE_ABSTRACT(Base::Persistence,Base::BaseClass)

View File

@@ -24,9 +24,6 @@
#ifndef APP_PERSISTENCE_H
#define APP_PERSISTENCE_H
// Std. configurations
#include "BaseClass.h"
namespace Base

View File

@@ -22,11 +22,12 @@
#include "PreCompiled.h"
#include "Writer.h"
#include "Persistence.h"
#include <boost/iostreams/device/array.hpp>
#include <boost/iostreams/stream.hpp>
#include "Persistence.h"
#include "Writer.h"
// inclution of the generated files (generated By PersitancePy.xml)
#include "PersistencePy.h"
#include "PersistencePy.cpp"

View File

@@ -23,9 +23,9 @@
#ifndef BASE_PLACEMENT_H
#define BASE_PLACEMENT_H
#include "Vector3D.h"
#include "Rotation.h"
#include "Matrix.h"
#include "Rotation.h"
#include "Vector3D.h"
namespace Base {

View File

@@ -23,7 +23,6 @@
#include "PreCompiled.h"
#include "Placement.h"
#include "GeometryPyCXX.h"
// inclusion of the generated files (generated out of PlacementPy.xml)

View File

@@ -30,11 +30,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <cstdlib>
#endif
#include "PyExport.h"
#include "PyObjectBase.h"
using namespace Base;

View File

@@ -25,13 +25,13 @@
#ifndef _PreComp_
# include <sstream>
# include <cstdlib>
#endif
#include "PyObjectBase.h"
#include "Console.h"
#include "Interpreter.h"
#define ATTR_TRACKING
using namespace Base;

View File

@@ -48,7 +48,6 @@
#define slots
#include <bitset>
#include <typeinfo>
#include "Exception.h"
#ifndef PYCXX_PYTHON_2TO3
#define PYCXX_PYTHON_2TO3
@@ -56,7 +55,6 @@
#include <CXX/Objects.hxx>
/** Python static class macro for definition
* sets up a static function entry in a class inheriting
* from PyObjectBase. It's a pure convenience macro. You can also do