[App] Document: remove unused includes
This commit is contained in:
@@ -51,28 +51,18 @@ The FreeCAD document handles the dependencies of its DocumentObjects with
|
||||
an adjacence list. This gives the opportunity to calculate the shortest
|
||||
recompute path. Also, it enables more complicated dependencies beyond trees.
|
||||
|
||||
|
||||
@see App::Application
|
||||
@see App::DocumentObject
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <algorithm>
|
||||
# include <sstream>
|
||||
# include <climits>
|
||||
# include <bitset>
|
||||
# include <random>
|
||||
# include <boost/filesystem.hpp>
|
||||
#endif
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
#include <boost_graph_adjacency_list.hpp>
|
||||
#include <boost/graph/subgraph.hpp>
|
||||
#include <boost/graph/graphviz.hpp>
|
||||
#include <boost/graph/strong_components.hpp>
|
||||
|
||||
@@ -83,36 +73,39 @@ recompute path. Also, it enables more complicated dependencies beyond trees.
|
||||
#include <boost/graph/visitors.hpp>
|
||||
#endif //USE_OLD_DAG
|
||||
|
||||
#include <boost_bind_bind.hpp>
|
||||
#include <boost/regex.hpp>
|
||||
#include <unordered_set>
|
||||
#include <unordered_map>
|
||||
#include <random>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QCryptographicHash>
|
||||
#include <QCoreApplication>
|
||||
|
||||
#include "AutoTransaction.h"
|
||||
#include "Document.h"
|
||||
#include "Application.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "MergeDocuments.h"
|
||||
#include "ExpressionParser.h"
|
||||
#include <App/DocumentPy.h>
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/FileInfo.h>
|
||||
#include <Base/TimeInfo.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Writer.h>
|
||||
#include <Base/Stream.h>
|
||||
#include <Base/FileInfo.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Uuid.h>
|
||||
#include <Base/Sequencer.h>
|
||||
|
||||
#include "Document.h"
|
||||
#include "Application.h"
|
||||
#include "AutoTransaction.h"
|
||||
#include "DocumentObserver.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "ExpressionParser.h"
|
||||
#include "GeoFeature.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include "Link.h"
|
||||
#include "MergeDocuments.h"
|
||||
#include "Origin.h"
|
||||
#include "OriginGroupExtension.h"
|
||||
#include "Transactions.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <zipios++/zipios-config.h>
|
||||
#endif
|
||||
@@ -121,14 +114,6 @@ recompute path. Also, it enables more complicated dependencies beyond trees.
|
||||
#include <zipios++/zipoutputstream.h>
|
||||
#include <zipios++/meta-iostreams.h>
|
||||
|
||||
#include "Application.h"
|
||||
#include "Transactions.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include "Origin.h"
|
||||
#include "OriginGroupExtension.h"
|
||||
#include "Link.h"
|
||||
#include "DocumentObserver.h"
|
||||
#include "GeoFeature.h"
|
||||
|
||||
FC_LOG_LEVEL_INIT("App", true, true, true)
|
||||
|
||||
|
||||
@@ -23,21 +23,16 @@
|
||||
#ifndef APP_DOCUMENT_H
|
||||
#define APP_DOCUMENT_H
|
||||
|
||||
#include <CXX/Objects.hxx>
|
||||
#include <Base/Observer.h>
|
||||
#include <Base/Persistence.h>
|
||||
#include <Base/Type.h>
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
#include "PropertyContainer.h"
|
||||
#include "PropertyStandard.h"
|
||||
#include "PropertyLinks.h"
|
||||
#include "PropertyStandard.h"
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <stack>
|
||||
#include <functional>
|
||||
|
||||
#include <boost_signals2.hpp>
|
||||
#include <vector>
|
||||
|
||||
namespace Base {
|
||||
class Writer;
|
||||
|
||||
@@ -24,25 +24,20 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include <Base/Writer.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <App/DocumentObjectPy.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include "Application.h"
|
||||
#include "Document.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "DocumentObjectGroup.h"
|
||||
#include "PropertyLinks.h"
|
||||
#include "PropertyGeo.h"
|
||||
#include "PropertyExpressionEngine.h"
|
||||
#include "DocumentObjectExtension.h"
|
||||
#include "DocumentObjectGroup.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include <App/DocumentObjectPy.h>
|
||||
#include <boost/bind/bind.hpp>
|
||||
#include "PropertyExpressionEngine.h"
|
||||
#include "PropertyLinks.h"
|
||||
|
||||
|
||||
FC_LOG_LEVEL_INIT("App",true,true)
|
||||
|
||||
|
||||
@@ -26,17 +26,13 @@
|
||||
#define APP_DOCUMENTOBJECT_H
|
||||
|
||||
#include <App/TransactionalObject.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/PropertyExpressionEngine.h>
|
||||
|
||||
#include <Base/TimeInfo.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
#include <unordered_map>
|
||||
#include <bitset>
|
||||
#include <boost_signals2.hpp>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
@@ -23,11 +23,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <cassert>
|
||||
# include <algorithm>
|
||||
#endif
|
||||
|
||||
#include "DocumentObjectExtension.h"
|
||||
#include "DocumentObjectExtensionPy.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#ifndef APP_DOCUMENTOBJECTEXTENSION_H
|
||||
#define APP_DOCUMENTOBJECTEXTENSION_H
|
||||
|
||||
#include "Extension.h"
|
||||
#include "DocumentObject.h"
|
||||
|
||||
namespace App {
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <sstream>
|
||||
#endif
|
||||
|
||||
// inclution of the generated files (generated out of PropertyContainerPy.xml)
|
||||
#include "DocumentObjectExtensionPy.h"
|
||||
#include "DocumentObjectExtensionPy.cpp"
|
||||
|
||||
@@ -23,11 +23,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include "DocumentObjectFileIncluded.h"
|
||||
#include "Document.h"
|
||||
|
||||
using namespace App;
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "PropertyFile.h"
|
||||
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include "DocumentObjectGroup.h"
|
||||
#include "DocumentObjectGroupPy.h"
|
||||
#include "Document.h"
|
||||
#include "FeaturePythonPyImp.h"
|
||||
|
||||
using namespace App;
|
||||
|
||||
@@ -24,11 +24,9 @@
|
||||
#ifndef APP_DOCUMENTOBJECTGROUP_H
|
||||
#define APP_DOCUMENTOBJECTGROUP_H
|
||||
|
||||
#include "FeaturePython.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "PropertyLinks.h"
|
||||
#include "FeaturePython.h"
|
||||
#include "GroupExtension.h"
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace App
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "DocumentObjectGroup.h"
|
||||
#include "Document.h"
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
// inclusion of the generated files (generated out of DocumentObjectGroupPy.xml)
|
||||
#include "DocumentObjectGroupPy.h"
|
||||
|
||||
@@ -24,12 +24,14 @@
|
||||
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
#include <Base/MatrixPy.h>
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "Document.h"
|
||||
#include "ExpressionParser.h"
|
||||
#include "GeoFeature.h"
|
||||
#include "GroupExtension.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include "GroupExtension.h"
|
||||
|
||||
|
||||
// inclusion of the generated files (generated out of DocumentObjectPy.xml)
|
||||
#include <App/DocumentObjectPy.h>
|
||||
|
||||
@@ -23,17 +23,12 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <functional>
|
||||
# include <sstream>
|
||||
#endif
|
||||
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "Application.h"
|
||||
#include "Document.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "DocumentObserver.h"
|
||||
#include "ComplexGeoData.h"
|
||||
#include "Document.h"
|
||||
#include "DocumentObserver.h"
|
||||
#include "GeoFeature.h"
|
||||
|
||||
using namespace App;
|
||||
|
||||
@@ -26,8 +26,9 @@
|
||||
|
||||
#include <Base/BaseClass.h>
|
||||
#include <boost_signals2.hpp>
|
||||
#include <set>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
@@ -23,16 +23,11 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <boost_bind_bind.hpp>
|
||||
#endif
|
||||
|
||||
#include "Application.h"
|
||||
#include "Document.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "DocumentObserverPython.h"
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Console.h>
|
||||
|
||||
|
||||
using namespace App;
|
||||
namespace bp = boost::placeholders;
|
||||
|
||||
@@ -24,12 +24,6 @@
|
||||
#ifndef APP_DOCUMENTOBSERVERPYTHON_H
|
||||
#define APP_DOCUMENTOBSERVERPYTHON_H
|
||||
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
#include <boost_signals2.hpp>
|
||||
#include <boost/bind/bind.hpp>
|
||||
#include <string>
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
@@ -23,16 +23,12 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <sstream>
|
||||
#endif
|
||||
#include <Base/FileInfo.h>
|
||||
|
||||
#include "Document.h"
|
||||
#include <Base/FileInfo.h>
|
||||
#include "DocumentObject.h"
|
||||
#include "DocumentObjectPy.h"
|
||||
#include "MergeDocuments.h"
|
||||
#include "PropertyLinks.h"
|
||||
|
||||
// inclusion of the generated files (generated By DocumentPy.xml)
|
||||
#include "DocumentPy.h"
|
||||
|
||||
Reference in New Issue
Block a user