Commit 5a30be62 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent a8943e57
......@@ -32,7 +32,6 @@
#include <marble/GeoDataLinearRing.h>
#include <marble/GeoDataMultiGeometry.h>
#include <marble/GeoDataPoint.h>
#include <marble/GeoDataCoordinates.h>
#include <marble/GeoDataLatLonAltBox.h>
namespace Marble
......
......@@ -45,7 +45,6 @@
#include <marble/GeoDataGeometry.h>
#include <marble/GeoDataMultiGeometry.h>
#include <marble/GeoDataPoint.h>
#include <marble/GeoDataCoordinates.h>
#include <marble/GeoDataPolygon.h>
#include <marble/GeoDataLinearRing.h>
#include <marble/GeoDataLatLonAltBox.h>
......
......@@ -10,12 +10,10 @@
#include "squad-interpolation.h"
#include <marble/MarbleWidget.h>
#include <marble/MarbleGlobal.h>
#include <marble/GeoDataLatLonAltBox.h>
#include <marble/GeoDataDocument.h>
#include <marble/GeoDataPlacemark.h>
#include <marble/GeoDataLineString.h>
#include <marble/GeoDataTreeModel.h>
#include <marble/MarblePlacemarkModel.h>
#include <marble/GeoDataLinearRing.h>
......@@ -23,7 +21,6 @@
#include <marble/MarbleMath.h>
#include <marble/ViewportParams.h>
#include <QApplication>
#include <QTimer>
namespace Marble
......
......@@ -20,7 +20,6 @@
#include <marble/MarbleWidget.h>
#include <marble/MarbleGlobal.h>
#include <marble/GeoDataDocument.h>
#include <marble/GeoDataPlacemark.h>
#include <marble/GeoDataLineString.h>
#include <marble/GeoDataTreeModel.h>
#include <marble/MarbleModel.h>
......
......@@ -18,8 +18,6 @@
#include "o5mreader.h"
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <cstdlib>
......
......@@ -19,7 +19,6 @@
#include <QPrinter>
#include <QPainter>
#include <QTextDocument>
#include <QPointer>
#include <QUrl>
#include <QDesktopServices>
#include <QNetworkAccessManager>
......@@ -45,7 +44,6 @@
#include "GeoSceneDocument.h"
#include "GeoSceneHead.h"
#include "GeoUriParser.h"
#include "MarbleWidget.h"
#include "MarbleDebug.h"
#include "MarbleDirs.h"
#include "MarbleModel.h"
......
......@@ -22,7 +22,6 @@
#include <cmath>
using namespace std;
#include "attlib.h"
#include "astrolib.h"
extern double frac (double f);
......
......@@ -23,7 +23,6 @@
#include <cmath>
using namespace std;
#include "attlib.h"
#include "astrolib.h"
double frac (double f)
......
......@@ -27,7 +27,6 @@
#include <ctime>
using namespace std;
#include "attlib.h"
#include "astrolib.h"
// ################ Planetary Sats Class ####################
......
......@@ -40,7 +40,6 @@ using namespace std;
#include "astrolib.h"
#include "astr2lib.h"
#include "attlib.h"
const double degrad = M_PI / 180.0;
......
......@@ -17,7 +17,6 @@
#include "MarbleDebug.h"
#include "MarbleModel.h"
#include "ViewportParams.h"
#include "MarbleGlobal.h"
#include "RoutingManager.h"
#include "RoutingModel.h"
#include "Route.h"
......
......@@ -15,7 +15,6 @@
#include "CurrentLocationWidget.h"
// Marble
#include "AutoNavigation.h"
#include "MarbleDebug.h"
#include "MarbleLocale.h"
#include "MarbleModel.h"
......
......@@ -13,10 +13,8 @@
#include <QBuffer>
#include <QDataStream>
#include <QFile>
#include <QThread>
#include "GeoDataParser.h"
#include "GeoDataDocument.h"
#include "GeoDataFolder.h"
#include "GeoDataGroundOverlay.h"
#include "GeoDataPlacemark.h"
......
......@@ -20,7 +20,6 @@
#include "MarbleModel.h"
#include "GeoDataTreeModel.h"
#include "GeoDataDocument.h"
#include "GeoDataLatLonAltBox.h"
#include "GeoDataStyle.h"
......
......@@ -17,7 +17,6 @@
// Qt
#include <qmath.h>
#include <QRunnable>
#include <QImage>
// Marble
#include "GeoPainter.h"
......
......@@ -26,7 +26,6 @@
#include "GeoDataPoint.h"
#include "GeoDataPolygon.h"
#include "MarbleGlobal.h"
#include "ViewportParams.h"
#include "AbstractProjection.h"
......
......@@ -14,7 +14,6 @@
#include <QUrl>
#include <QUrlQuery>
#include "Planet.h"
#include "PlanetFactory.h"
#include "MarbleDebug.h"
......
......@@ -17,7 +17,6 @@
#include "HttpDownloadManager.h"
#include <QNetworkAccessManager>
#include <QNetworkReply>
using namespace Marble;
......
......@@ -12,10 +12,8 @@
#include "LatLonEdit.h"
#include "ui_LatLonEdit.h"
#include <QWidget>
#include "MarbleDebug.h"
#include "MarbleGlobal.h"
namespace Marble
......
......@@ -13,7 +13,6 @@
#include "MarbleDirs.h"
#include "MarbleDebug.h"
#include <QDir>
#include <QFile>
#include <QString>
#include <QStringList>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment