[Base] Units and Uui: remove unused includes

This commit is contained in:
Uwe
2022-02-24 03:39:26 +01:00
committed by wmayer
parent c08c4c12ef
commit 9ec0bcdcf2
21 changed files with 27 additions and 55 deletions

View File

@@ -23,12 +23,12 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <sstream>
# include <cstdlib>
#endif
#include "Unit.h"
#include "Quantity.h"
#include "Exception.h"
#include "Quantity.h"
using namespace Base;

View File

@@ -24,12 +24,7 @@
#ifndef BASE_Unit_H
#define BASE_Unit_H
#ifdef _MSC_VER
# include <boost/cstdint.hpp>
#else
# include <cstdint>
#endif
#include <string>
#include <cstdint>
#include <QString>
#include <FCGlobal.h>

View File

@@ -29,11 +29,12 @@
#include <memory>
#include <QString>
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchemaCentimeters.h"
#include "UnitsSchemaInternal.h"
#include "UnitsSchemaImperial1.h"
#include "UnitsSchemaMKS.h"
#include "UnitsSchemaCentimeters.h"
#include "UnitsSchemaMmMin.h"
#include "UnitsSchemaFemMilliMeterNewton.h"

View File

@@ -26,7 +26,6 @@
#include <CXX/WrapPython.h>
#include <memory>
#include <string>
#include <QString>
#include "UnitsSchema.h"
#include "Quantity.h"

View File

@@ -28,8 +28,7 @@
#endif
#include <CXX/Objects.hxx>
#include "Exception.h"
/// Here the FreeCAD includes sorted by Base,App,Gui......
#include "UnitsApi.h"
#include "Quantity.h"
#include "QuantityPy.h"

View File

@@ -26,13 +26,12 @@
# include <unistd.h>
#endif
#include <QString>
#include <QLocale>
#include <QString>
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchema.h"
using namespace Base;
QString UnitsSchema::toLocale(const Base::Quantity& quant, double factor, const QString& unitString) const

View File

@@ -24,8 +24,6 @@
#ifndef BASE_UNITSSCHEMA_H
#define BASE_UNITSSCHEMA_H
#include <string>
#include <QString>
#include <Base/Quantity.h>

View File

@@ -27,10 +27,9 @@
#endif
#include <QString>
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchemaCentimeters.h"
#include <cmath>
using namespace Base;

View File

@@ -24,11 +24,10 @@
#ifndef BASE_UNITSSCHEMACENTIMETERS_H
#define BASE_UNITSSCHEMACENTIMETERS_H
#include <string>
#include <QString>
#include "UnitsSchema.h"
namespace Base {
/**

View File

@@ -28,10 +28,8 @@
#endif
#include <QString>
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchemaFemMilliMeterNewton.h"
#include <cmath>
using namespace Base;

View File

@@ -25,11 +25,10 @@
#ifndef BASE_UNITSSCHEMAFEMMLLIMETERNEWTON_H
#define BASE_UNITSSCHEMAFEMMLLIMETERNEWTON_H
#include <string>
#include <QString>
#include "UnitsSchema.h"
namespace Base {

View File

@@ -23,6 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <cmath>
# include <sstream>
#endif
#ifdef __GNUC__
@@ -30,12 +31,8 @@
#endif
#include <QString>
#include "Console.h"
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchemaImperial1.h"
#include <cmath>
#include <iomanip>
using namespace Base;

View File

@@ -24,11 +24,10 @@
#ifndef BASE_UNITSSCHEMAIMPERIAL1_H
#define BASE_UNITSSCHEMAIMPERIAL1_H
#include <string>
#include <QString>
#include "UnitsSchema.h"
namespace Base {

View File

@@ -27,10 +27,8 @@
#endif
#include <QString>
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchemaInternal.h"
#include <cmath>
using namespace Base;

View File

@@ -24,11 +24,10 @@
#ifndef BASE_UNITSSCHEMAINTERNAL_H
#define BASE_UNITSSCHEMAINTERNAL_H
#include <string>
#include <QString>
#include "UnitsSchema.h"
namespace Base {

View File

@@ -27,10 +27,9 @@
#endif
#include <QString>
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchemaMKS.h"
#include <cmath>
using namespace Base;

View File

@@ -24,11 +24,10 @@
#ifndef BASE_UNITSSCHEMAMKS_H
#define BASE_UNITSSCHEMAMKS_H
#include <string>
#include <QString>
#include "UnitsSchema.h"
namespace Base {

View File

@@ -27,10 +27,8 @@
#endif
#include <QString>
#include "Exception.h"
#include "UnitsApi.h"
#include "UnitsSchemaMmMin.h"
#include <cmath>
using namespace Base;

View File

@@ -24,11 +24,10 @@
#ifndef BASE_UNITSSCHEMAMMMIN_H
#define BASE_UNITSSCHEMAMMMIN_H
#include <string>
#include <QString>
#include "UnitsSchema.h"
namespace Base {

View File

@@ -29,12 +29,7 @@
#include <stdexcept>
/// Here the FreeCAD includes sorted by Base,App,Gui......
#include "Uuid.h"
#include "Exception.h"
#include "Interpreter.h"
#include <stdexcept>
#include <CXX/Objects.hxx>
using namespace Base;

View File

@@ -22,9 +22,12 @@
#include "PreCompiled.h"
#include <limits>
#include "Tools.h"
#include "Vector3D.h"
#include "Tools.h"
using namespace Base;