Skip to content

Commit

Permalink
Improve application includes
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Feb 4, 2024
1 parent 3d0ff0b commit 59cc560
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 17 deletions.
11 changes: 5 additions & 6 deletions ApplicationLibCode/Application/RiaApplication.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@

#include "RiaDefines.h"

#include "cafPdmField.h"
#include "cafPdmObject.h"

#include "cvfFont.h"
#include "cafPdmPointer.h"
#include "cvfObject.h"

#include <QEventLoop>
#include <QMap>
#include <QMutex>
#include <QPointer>
#include <QProcess>
Expand All @@ -35,7 +34,6 @@

#include <gsl/gsl>

#include <iostream>
#include <memory>

class QAction;
Expand Down Expand Up @@ -79,7 +77,8 @@ class UiProcess;
namespace cvf
{
class ProgramOptions;
}
class Font;
} // namespace cvf

//==================================================================================================
/// Base class for all ResInsight applications. I.e. console and GUI
Expand Down
5 changes: 0 additions & 5 deletions ApplicationLibCode/Application/RiaGuiApplication.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
#include "RiaApplication.h"
#include "RiaDefines.h"

#include "cafPdmField.h"
#include "cafPdmObject.h"

#include "cvfObject.h"

#include <QApplication>
#include <QMutex>
#include <QPointer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include "cafUtils.h"

#include <QAction>
#include <QApplication>
#include <QDebug>
#include <QDir>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,25 @@
#include "RicMeasurementPickEventHandler.h"

#include "RiaApplication.h"
#include "RiuViewer.h"
#include "RiuViewerCommands.h"

#include "Rim3dView.h"
#include "RimExtrudedCurveIntersection.h"
#include "RimGridView.h"
#include "RimMeasurement.h"
#include "RimProject.h"

#include "cafDisplayCoordTransform.h"
#include "cafSelectionManager.h"
#include "RiuViewer.h"
#include "RiuViewerCommands.h"

#include "RivPartPriority.h"

#include "cafDisplayCoordTransform.h"
#include "cafSelectionManager.h"

#include "cvfPart.h"

#include <QApplication>

#include <vector>

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "cafPdmObjectHandle.h"

#include <QAction>
#include <QApplication>
#include <QClipboard>
#include <QString>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "RicCopyGridStatisticsToClipboardFeature.h"

#include "RiaApplication.h"
#include "RiaGuiApplication.h"

#include "RicWellLogTools.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "RicNewSeismicDifferenceFeature.h"

#include "RiaApplication.h"
#include "RiaGuiApplication.h"

#include "RimOilField.h"
#include "RimProject.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
#include "cvfModelBasicList.h"
#include "cvfPart.h"

#include <QApplication>


CAF_PDM_UI_3D_OBJECT_EDITOR_SOURCE_INIT( RicWellTarget3dEditor );

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "cafSelectionManagerTools.h"

#include <QAction>
#include <QApplication>
#include <QClipboard>

CAF_CMD_SOURCE_INIT( RicAppendPointsToPolygonFilterFeature, "RicAppendPointsToPolygonFilterFeature" );
Expand Down
1 change: 1 addition & 0 deletions GrpcInterface/RiaGrpcApplicationInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "cvfProgramOptions.h"

#include <QCoreApplication>
#include <QProcessEnvironment>

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 59cc560

Please sign in to comment.