[Gui] ViewProviderOrigin* etc.: remove unused includes

This commit is contained in:
Uwe
2022-03-06 01:44:33 +01:00
parent a65c88d3c5
commit a345a226d5
11 changed files with 39 additions and 95 deletions

View File

@@ -20,24 +20,15 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QApplication>
# include <QPixmap>
#endif
#include <App/DocumentObjectGroup.h>
#include <App/Document.h>
/// Here the FreeCAD includes sorted by Base,App,Gui......
#include "ViewProviderMaterialObject.h"
#include "Application.h"
#include "Command.h"
#include "BitmapFactory.h"
#include "Document.h"
#include "Tree.h"
using namespace Gui;

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
@@ -31,29 +30,29 @@
# include <Inventor/events/SoMouseButtonEvent.h>
# include <Inventor/nodes/SoAnnotation.h>
# include <Inventor/nodes/SoBaseColor.h>
# include <Inventor/nodes/SoCoordinate3.h>
# include <Inventor/nodes/SoDrawStyle.h>
# include <Inventor/nodes/SoFontStyle.h>
# include <Inventor/nodes/SoIndexedLineSet.h>
# include <Inventor/nodes/SoMarkerSet.h>
# include <Inventor/nodes/SoPickStyle.h>
# include <Inventor/nodes/SoText2.h>
# include <Inventor/nodes/SoTranslation.h>
# include <Inventor/nodes/SoCoordinate3.h>
# include <Inventor/nodes/SoIndexedLineSet.h>
# include <Inventor/nodes/SoMarkerSet.h>
# include <Inventor/nodes/SoDrawStyle.h>
#endif
#include <Inventor/MarkerBitmaps.h>
#include <App/MeasureDistance.h>
#include <Base/Console.h>
#include <Base/Quantity.h>
#include "ViewProviderMeasureDistance.h"
#include "Application.h"
#include <Command.h>
#include "Document.h"
#include "View3DInventorViewer.h"
#include "ViewParams.h"
#include <App/PropertyGeo.h>
#include <App/PropertyStandard.h>
#include <App/MeasureDistance.h>
#include <Base/Console.h>
#include <Base/Quantity.h>
#include <Inventor/MarkerBitmaps.h>
#include <Command.h>
using namespace Gui;

View File

@@ -21,37 +21,23 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QApplication>
# include <QPixmap>
# include <Inventor/actions/SoGetBoundingBoxAction.h>
# include <Inventor/nodes/SoSeparator.h>
# include <Inventor/nodes/SoGroup.h>
#endif
#include <Base/Vector3D.h>
#include <App/Origin.h>
#include <App/OriginFeature.h>
#include <App/Document.h>
#include "Base/Console.h"
#include <Base/Vector3D.h>
/// Here the FreeCAD includes sorted by Base,App,Gui......
#include "ViewProviderOrigin.h"
#include "ViewProviderPlane.h"
#include "ViewProviderLine.h"
#include "Application.h"
#include "Command.h"
#include "BitmapFactory.h"
#include "Document.h"
#include "Tree.h"
#include "View3DInventor.h"
#include "View3DInventorViewer.h"
#include "ViewProviderLine.h"
#include "ViewProviderPlane.h"
#include "Base/Console.h"
#include <App/Origin.h>
using namespace Gui;

View File

@@ -21,7 +21,6 @@
* *
***************************************************************************/
#ifndef GUI_VIEWPROVIDER_ViewProviderOrigin_H
#define GUI_VIEWPROVIDER_ViewProviderOrigin_H
@@ -29,6 +28,7 @@
#include "ViewProviderDocumentObject.h"
namespace Gui {
class Document;

View File

@@ -24,27 +24,22 @@
#ifndef _PreComp_
# include <Inventor/nodes/SoAsciiText.h>
# include <Inventor/nodes/SoSeparator.h>
# include <Inventor/nodes/SoMaterial.h>
# include <Inventor/nodes/SoMaterialBinding.h>
# include <Inventor/nodes/SoAnnotation.h>
# include <Inventor/nodes/SoDrawStyle.h>
# include <Inventor/nodes/SoCoordinate3.h>
# include <Inventor/nodes/SoIndexedLineSet.h>
# include <Inventor/nodes/SoTranslation.h>
# include <Inventor/nodes/SoFontStyle.h>
# include <Inventor/nodes/SoFont.h>
# include <Inventor/nodes/SoMaterial.h>
# include <Inventor/nodes/SoMaterialBinding.h>
# include <Inventor/nodes/SoScale.h>
# include <Inventor/details/SoLineDetail.h>
# include <Inventor/nodes/SoSeparator.h>
#endif
#include <App/Document.h>
#include <App/OriginFeature.h>
#include "ViewProviderOriginFeature.h"
#include "SoFCSelection.h"
#include "Window.h"
#include "ViewProviderOrigin.h"
#include "ViewProviderOriginFeature.h"
using namespace Gui;

View File

@@ -22,20 +22,6 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include <Base/Console.h>
#include <App/OriginGroupExtension.h>
#include <App/Origin.h>
#include "Application.h"
#include "Document.h"
#include "View3DInventor.h"
#include "View3DInventorViewer.h"
#include "ViewProviderOrigin.h"
#include "ViewProviderOriginFeature.h"
#include "ViewProviderOriginGroup.h"

View File

@@ -20,10 +20,9 @@
* *
***************************************************************************/
#ifndef VIEWPROVIDERORIGINGROUP_H_JIXBOPA7
#define VIEWPROVIDERORIGINGROUP_H_JIXBOPA7
#ifndef VIEWPROVIDERORIGINGROUP_H
#define VIEWPROVIDERORIGINGROUP_H
#include "ViewProviderGeoFeatureGroup.h"
#include "ViewProviderOriginGroupExtension.h"
namespace Gui {
@@ -40,4 +39,4 @@ public:
} /* Gui */
#endif /* end of include guard: VIEWPROVIDERORIGINGROUP_H_JIXBOPA7 */
#endif /* end of include guard: VIEWPROVIDERORIGINGROUP_H */

View File

@@ -21,27 +21,25 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#include <boost_bind_bind.hpp>
#include <Inventor/actions/SoGetBoundingBoxAction.h>
#include <Inventor/nodes/SoSeparator.h>
#endif
#include <App/Origin.h>
#include <App/OriginGroupExtension.h>
#include <Base/Console.h>
#include "ViewProviderOriginGroupExtension.h"
#include "Application.h"
#include "Document.h"
#include "ViewProviderOriginFeature.h"
#include "ViewProviderOrigin.h"
#include "View3DInventorViewer.h"
#include "View3DInventor.h"
#include "Command.h"
#include <App/OriginGroupExtension.h>
#include <App/Document.h>
#include <App/Origin.h>
#include <Base/Console.h>
#include "View3DInventorViewer.h"
#include "ViewProviderOrigin.h"
#include "ViewProviderOriginFeature.h"
using namespace Gui;
namespace bp = boost::placeholders;

View File

@@ -21,13 +21,12 @@
* *
***************************************************************************/
#ifndef GUI_VIEWPROVIDERORIGINGROUPEXTENSION_H
#define GUI_VIEWPROVIDERORIGINGROUPEXTENSION_H
#include <App/Extension.h>
#include "ViewProviderGeoFeatureGroup.h"
namespace Gui
{

View File

@@ -20,27 +20,20 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QApplication>
# include <QMenu>
# include <QPixmap>
# include <boost_bind_bind.hpp>
#endif
#include <App/DocumentObject.h>
#include <App/Part.h>
#include <App/Document.h>
#include "ActiveObjectList.h"
#include "ActionFunction.h"
#include "BitmapFactory.h"
#include "Command.h"
#include "ViewProviderPart.h"
#include "ActionFunction.h"
#include "Application.h"
#include "MDIView.h"
#include "BitmapFactory.h"
#include "Command.h"
using namespace Gui;

View File

@@ -20,13 +20,11 @@
* *
***************************************************************************/
#ifndef GUI_VIEWPROVIDER_ViewProviderPart_H
#define GUI_VIEWPROVIDER_ViewProviderPart_H
#include "ViewProviderOriginGroup.h"
#include "ViewProviderDragger.h"
#include "ViewProviderOriginGroup.h"
#include "ViewProviderPythonFeature.h"