[Base] Parameter and Matrix: remove unused includes
This commit is contained in:
@@ -23,15 +23,14 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <memory>
|
||||
# include <cstring>
|
||||
# include <sstream>
|
||||
#endif
|
||||
|
||||
|
||||
#include "Matrix.h"
|
||||
#include "Converter.h"
|
||||
|
||||
|
||||
using namespace Base;
|
||||
|
||||
Matrix4D::Matrix4D ()
|
||||
|
||||
@@ -24,10 +24,6 @@
|
||||
#ifndef BASE_MATRIX_H
|
||||
#define BASE_MATRIX_H
|
||||
|
||||
#include <cassert>
|
||||
#include <cfloat>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
#include "Vector3D.h"
|
||||
@@ -35,6 +31,7 @@
|
||||
#include <FCGlobal.h>
|
||||
#endif
|
||||
|
||||
|
||||
namespace Base {
|
||||
|
||||
enum class ScaleType {
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <climits>
|
||||
#include <cmath>
|
||||
#include "Base/Matrix.h"
|
||||
|
||||
// inclusion of the generated files (generated out of MatrixPy.xml)
|
||||
#include "RotationPy.h"
|
||||
#include "VectorPy.h"
|
||||
@@ -35,6 +31,7 @@
|
||||
#include "MatrixPy.h"
|
||||
#include "MatrixPy.cpp"
|
||||
|
||||
|
||||
using namespace Base;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -41,18 +41,16 @@
|
||||
|
||||
#ifndef _PreComp_
|
||||
# ifdef _MSC_VER
|
||||
# include <cstdio>
|
||||
# include <time.h>
|
||||
# include <Windows.h>
|
||||
# include <crtdbg.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
#include "MemDebug.h"
|
||||
#include <stdexcept>
|
||||
|
||||
|
||||
using namespace Base;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
@@ -25,15 +25,11 @@
|
||||
#ifndef BASE_OBSERVER_H
|
||||
#define BASE_OBSERVER_H
|
||||
|
||||
// Std. configurations
|
||||
|
||||
#include <cassert>
|
||||
#include <set>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <exception>
|
||||
#include "Exception.h"
|
||||
#include "Console.h"
|
||||
#include "Exception.h"
|
||||
|
||||
|
||||
namespace Base
|
||||
{
|
||||
|
||||
@@ -27,45 +27,30 @@
|
||||
#ifndef _PreComp_
|
||||
# include <cassert>
|
||||
# include <memory>
|
||||
# include <xercesc/util/PlatformUtils.hpp>
|
||||
# include <xercesc/util/XercesVersion.hpp>
|
||||
# include <xercesc/dom/DOM.hpp>
|
||||
# include <xercesc/dom/DOMImplementation.hpp>
|
||||
# include <xercesc/dom/DOMImplementationLS.hpp>
|
||||
# if (XERCES_VERSION_MAJOR == 2)
|
||||
# include <xercesc/dom/DOMWriter.hpp>
|
||||
# endif
|
||||
# include <xercesc/framework/StdOutFormatTarget.hpp>
|
||||
# include <xercesc/framework/LocalFileFormatTarget.hpp>
|
||||
# include <xercesc/framework/LocalFileInputSource.hpp>
|
||||
# include <xercesc/framework/MemBufFormatTarget.hpp>
|
||||
# include <xercesc/framework/MemBufInputSource.hpp>
|
||||
# include <xercesc/parsers/XercesDOMParser.hpp>
|
||||
# include <xercesc/util/XMLUni.hpp>
|
||||
# include <xercesc/util/XMLUniDefs.hpp>
|
||||
# include <xercesc/util/XMLString.hpp>
|
||||
# include <xercesc/sax/ErrorHandler.hpp>
|
||||
# include <xercesc/sax/SAXParseException.hpp>
|
||||
# include <fcntl.h>
|
||||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
# ifdef FC_OS_WIN32
|
||||
# include <io.h>
|
||||
# endif
|
||||
# include <sstream>
|
||||
# include <cstdio>
|
||||
# include <string>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
||||
|
||||
#include <fcntl.h>
|
||||
#ifdef FC_OS_LINUX
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "Parameter.h"
|
||||
#include "Parameter.inl"
|
||||
#include "Exception.h"
|
||||
#include "Console.h"
|
||||
#include "Exception.h"
|
||||
|
||||
|
||||
//#ifdef XERCES_HAS_CPP_NAMESPACE
|
||||
|
||||
@@ -32,9 +32,6 @@
|
||||
#ifndef BASE__PARAMETER_H
|
||||
#define BASE__PARAMETER_H
|
||||
|
||||
// Include files
|
||||
#include <Python.h>
|
||||
|
||||
#ifdef FC_OS_MACOSX
|
||||
#undef toupper
|
||||
#undef tolower
|
||||
@@ -53,7 +50,6 @@
|
||||
#include <vector>
|
||||
#include <xercesc/util/XercesDefs.hpp>
|
||||
|
||||
// Std. configurations
|
||||
#include "Handle.h"
|
||||
#include "Observer.h"
|
||||
|
||||
|
||||
@@ -25,31 +25,22 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <cassert>
|
||||
# include <fcntl.h>
|
||||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
# ifdef FC_OS_WIN32
|
||||
# include <io.h>
|
||||
# include <xercesc/sax/SAXParseException.hpp>
|
||||
# endif
|
||||
# include <cstdio>
|
||||
# include <sstream>
|
||||
# include <list>
|
||||
# include <sstream>
|
||||
# include <string>
|
||||
# include <utility>
|
||||
#endif
|
||||
|
||||
|
||||
#include <fcntl.h>
|
||||
#ifdef FC_OS_LINUX
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "Parameter.h"
|
||||
#include "Exception.h"
|
||||
#include "Console.h"
|
||||
#include "PyObjectBase.h"
|
||||
#include "Interpreter.h"
|
||||
#include <CXX/Extensions.hxx>
|
||||
|
||||
|
||||
namespace Base {
|
||||
|
||||
Reference in New Issue
Block a user