[Base] Quantity, Rotation, Stream: remove unused includes
This commit is contained in:
@@ -22,17 +22,14 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <sstream>
|
||||
# ifdef FC_OS_WIN32
|
||||
# define _USE_MATH_DEFINES
|
||||
# endif // FC_OS_WIN32
|
||||
# include <cmath>
|
||||
#endif
|
||||
|
||||
#include "Quantity.h"
|
||||
#include "Exception.h"
|
||||
#include "UnitsApi.h"
|
||||
#include "Console.h"
|
||||
#include <boost/math/special_functions/fpclassify.hpp>
|
||||
|
||||
/** \defgroup Units Units system
|
||||
|
||||
@@ -22,14 +22,12 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "Base/Quantity.h"
|
||||
#include "Base/Vector3D.h"
|
||||
|
||||
// inclusion of the generated files (generated out of QuantityPy.xml)
|
||||
#include "QuantityPy.h"
|
||||
#include "UnitPy.h"
|
||||
#include "QuantityPy.cpp"
|
||||
|
||||
|
||||
using namespace Base;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -22,15 +22,13 @@
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <cmath>
|
||||
# include <climits>
|
||||
#endif
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
#include "Base/Exception.h"
|
||||
|
||||
#include "Rotation.h"
|
||||
#include "Matrix.h"
|
||||
#include "Base/Exception.h"
|
||||
|
||||
|
||||
using namespace Base;
|
||||
|
||||
|
||||
@@ -23,14 +23,14 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <Base/Rotation.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
// inclusion of the generated files (generated out of RotationPy.xml)
|
||||
#include "VectorPy.h"
|
||||
#include "RotationPy.h"
|
||||
#include "RotationPy.cpp"
|
||||
#include "VectorPy.h"
|
||||
|
||||
|
||||
using namespace Base;
|
||||
|
||||
|
||||
@@ -24,15 +24,12 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <cstdio>
|
||||
# include <algorithm>
|
||||
# include <QMutex>
|
||||
# include <QMutexLocker>
|
||||
#endif
|
||||
|
||||
#include "Sequencer.h"
|
||||
#include "Console.h"
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
|
||||
using namespace Base;
|
||||
|
||||
|
||||
@@ -24,12 +24,12 @@
|
||||
#ifndef BASE_SEQUENCER_H
|
||||
#define BASE_SEQUENCER_H
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <CXX/Extensions.hxx>
|
||||
|
||||
#include "Exception.h"
|
||||
|
||||
|
||||
namespace Base
|
||||
{
|
||||
|
||||
|
||||
@@ -79,11 +79,13 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#include <PreCompiled.h>
|
||||
|
||||
#include <Windows.h>
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#pragma comment(lib, "version.lib") // for "VerQueryValue"
|
||||
#pragma warning(disable:4826)
|
||||
|
||||
|
||||
@@ -32,11 +32,9 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* **********************************************************************/
|
||||
// #pragma once is supported starting with _MCS_VER 1000,
|
||||
// so we need not to check the version (because we only support _MSC_VER >= 1100)!
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Windows.h>
|
||||
#ifndef FC_GLOBAL_H
|
||||
#include <FCGlobal.h>
|
||||
#endif
|
||||
|
||||
@@ -26,11 +26,7 @@
|
||||
#ifndef _PreComp_
|
||||
# include <QBuffer>
|
||||
# include <QByteArray>
|
||||
# include <QDataStream>
|
||||
# include <QIODevice>
|
||||
# include <cstdlib>
|
||||
# include <string>
|
||||
# include <cstdio>
|
||||
# include <cstring>
|
||||
#ifdef __GNUC__
|
||||
# include <cstdint>
|
||||
@@ -40,7 +36,7 @@
|
||||
#include "Stream.h"
|
||||
#include "Swap.h"
|
||||
#include <CXX/Objects.hxx>
|
||||
#include <Python.h>
|
||||
|
||||
|
||||
using namespace Base;
|
||||
|
||||
|
||||
@@ -24,19 +24,17 @@
|
||||
#ifndef BASE_STREAM_H
|
||||
#define BASE_STREAM_H
|
||||
|
||||
|
||||
#ifdef __GNUC__
|
||||
# include <cstdint>
|
||||
#endif
|
||||
|
||||
#include <fstream>
|
||||
#include <ios>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "FileInfo.h"
|
||||
|
||||
|
||||
class QByteArray;
|
||||
class QIODevice;
|
||||
class QBuffer;
|
||||
|
||||
Reference in New Issue
Block a user