[App] Feature: remove unused includes
This commit is contained in:
@@ -22,20 +22,16 @@
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <algorithm>
|
||||
#endif
|
||||
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include "DynamicProperty.h"
|
||||
#include "Application.h"
|
||||
#include "Property.h"
|
||||
#include "PropertyContainer.h"
|
||||
#include "Application.h"
|
||||
#include "ExtensionContainer.h"
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Writer.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
|
||||
FC_LOG_LEVEL_INIT("Property",true,true)
|
||||
|
||||
|
||||
@@ -24,21 +24,20 @@
|
||||
#ifndef APP_DYNAMICPROPERTY_H
|
||||
#define APP_DYNAMICPROPERTY_H
|
||||
|
||||
#include <Base/Persistence.h>
|
||||
#include <unordered_map>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <boost/functional/hash.hpp>
|
||||
#include <boost/multi_index_container.hpp>
|
||||
#include <boost/multi_index/hashed_index.hpp>
|
||||
#include <boost/multi_index/sequenced_index.hpp>
|
||||
#include <boost/multi_index/member.hpp>
|
||||
#include <boost/multi_index/mem_fun.hpp>
|
||||
|
||||
|
||||
namespace Base {
|
||||
class Writer;
|
||||
class XMLReader;
|
||||
class XMLWriter;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,10 +25,9 @@
|
||||
#ifndef APP_FEATURECUSTOM_H
|
||||
#define APP_FEATURECUSTOM_H
|
||||
|
||||
|
||||
#include <Base/Writer.h>
|
||||
#include <App/DocumentObject.h>
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
|
||||
@@ -26,16 +26,15 @@
|
||||
# include <sstream>
|
||||
#endif
|
||||
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <App/DocumentObjectPy.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/MatrixPy.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <App/DocumentObjectPy.h>
|
||||
|
||||
#include "FeaturePython.h"
|
||||
#include "FeaturePythonPyImp.h"
|
||||
|
||||
|
||||
using namespace App;
|
||||
|
||||
FeaturePythonImp::FeaturePythonImp(App::DocumentObject* o)
|
||||
|
||||
@@ -25,13 +25,9 @@
|
||||
#ifndef APP_FEATUREPYTHON_H
|
||||
#define APP_FEATUREPYTHON_H
|
||||
|
||||
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Writer.h>
|
||||
#include <App/GeoFeature.h>
|
||||
#include <App/DynamicProperty.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
#include <App/PropertyGeo.h>
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include <Base/BaseClass.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <App/PropertyContainerPy.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
@@ -76,6 +76,8 @@
|
||||
namespace App
|
||||
{
|
||||
|
||||
class Property;
|
||||
|
||||
/**
|
||||
* @author Werner Mayer
|
||||
*/
|
||||
|
||||
@@ -22,17 +22,12 @@
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <stdexcept>
|
||||
#endif
|
||||
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Unit.h>
|
||||
|
||||
#include "FeatureTest.h"
|
||||
#include "Material.h"
|
||||
#include "Material.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( disable : 4700 )
|
||||
|
||||
@@ -21,15 +21,14 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef APP_FEATURETEST_H
|
||||
#define APP_FEATURETEST_H
|
||||
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "PropertyUnits.h"
|
||||
#include "PropertyGeo.h"
|
||||
#include "PropertyLinks.h"
|
||||
#include "PropertyUnits.h"
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
@@ -23,12 +23,11 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
#include <App/GeoFeaturePy.h>
|
||||
|
||||
#include "GeoFeature.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include <App/GeoFeaturePy.h>
|
||||
|
||||
|
||||
using namespace App;
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "PropertyGeo.h"
|
||||
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
|
||||
@@ -24,20 +24,15 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include <App/Document.h>
|
||||
|
||||
#include "Link.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include "OriginFeature.h"
|
||||
#include "Origin.h"
|
||||
#include "OriginGroupExtension.h"
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Tools.h>
|
||||
//#include "GeoFeatureGroupPy.h"
|
||||
//#include "FeaturePythonPyImp.h"
|
||||
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include "Link.h"
|
||||
#include "Origin.h"
|
||||
#include "OriginFeature.h"
|
||||
#include "OriginGroupExtension.h"
|
||||
|
||||
|
||||
using namespace App;
|
||||
|
||||
|
||||
@@ -25,11 +25,10 @@
|
||||
#ifndef APP_GeoFeatureGroup_H
|
||||
#define APP_GeoFeatureGroup_H
|
||||
|
||||
#include <App/FeaturePython.h>
|
||||
|
||||
#include "DocumentObjectGroup.h"
|
||||
#include "GroupExtension.h"
|
||||
#include "PropertyGeo.h"
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "App/GeoFeatureGroupExtension.h"
|
||||
|
||||
// inclusion of the generated files (generated out of GeoFeatureGroupExtensionPy.xml)
|
||||
#include "GeoFeatureGroupExtensionPy.h"
|
||||
#include "GeoFeatureGroupExtensionPy.cpp"
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "App/GeoFeature.h"
|
||||
|
||||
// inclusion of the generated files (generated out of GeoFeaturePy.xml)
|
||||
#include "GeoFeaturePy.h"
|
||||
#include "GeoFeaturePy.cpp"
|
||||
|
||||
@@ -23,19 +23,13 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <boost_bind_bind.hpp>
|
||||
#endif
|
||||
|
||||
#include "DocumentObjectGroup.h"
|
||||
#include "DocumentObjectGroupPy.h"
|
||||
#include "GroupExtensionPy.h"
|
||||
#include "Document.h"
|
||||
#include "FeaturePythonPyImp.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "Document.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include "GroupExtensionPy.h"
|
||||
|
||||
|
||||
using namespace App;
|
||||
namespace bp = boost::placeholders;
|
||||
|
||||
|
||||
@@ -24,13 +24,11 @@
|
||||
#ifndef APP_GROUPEXTENSION_H
|
||||
#define APP_GROUPEXTENSION_H
|
||||
|
||||
#include <boost_signals2.hpp>
|
||||
#include "FeaturePython.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "PropertyLinks.h"
|
||||
#include "DocumentObjectExtension.h"
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
class DocumentObjectGroup;
|
||||
|
||||
@@ -23,15 +23,14 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "DocumentObjectGroup.h"
|
||||
#include "Document.h"
|
||||
#include <CXX/Objects.hxx>
|
||||
#include "DocumentObject.h"
|
||||
|
||||
// inclusion of the generated files (generated out of GroupExtensionPy.xml)
|
||||
#include "GroupExtensionPy.h"
|
||||
#include "GroupExtensionPy.cpp"
|
||||
#include "DocumentObjectPy.h"
|
||||
|
||||
|
||||
using namespace App;
|
||||
|
||||
// returns a string which represent the object e.g. when printed in python
|
||||
|
||||
@@ -23,12 +23,10 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include "InventorObject.h"
|
||||
#include "DocumentObjectPy.h"
|
||||
|
||||
|
||||
using namespace App;
|
||||
|
||||
PROPERTY_SOURCE(App::InventorObject, App::GeoFeature)
|
||||
|
||||
@@ -24,11 +24,11 @@
|
||||
#ifndef APP_Part_H
|
||||
#define APP_Part_H
|
||||
|
||||
#include "GeoFeature.h"
|
||||
#include "OriginGroupExtension.h"
|
||||
#include "PropertyLinks.h"
|
||||
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user