Further reduction of include dependencies

This commit is contained in:
Ingo Weyrich
2019-11-01 16:15:59 +01:00
parent e682b364b5
commit d731e172c2
17 changed files with 41 additions and 11 deletions

View File

@@ -5,7 +5,6 @@
#include <omp.h>
#endif
#include "sleef.c"
#include "opthelper.h"
#define DIAGONALS 5
#define DIAGONALSP1 6

View File

@@ -66,7 +66,6 @@
#include <fstream>
#endif
#include "noncopyable.h"
#include "opthelper.h"
#include "rt_math.h"

View File

@@ -34,6 +34,7 @@
#include "rawimagesource.h"
#include "rt_math.h"
#include "utils.h"
#include "../rtexif/rtexif.h"
#include "../rtgui/options.h"
using namespace rtengine;

View File

@@ -32,6 +32,7 @@
#include "procparams.h"
#include "rt_math.h"
#include "utils.h"
#include "../rtexif/rtexif.h"
#pragma GCC diagnostic warning "-Wextra"
#define PRINT_HDR_PS_DETECTION 0

View File

@@ -29,7 +29,11 @@
#include "imageio.h"
#include "../rtexif/rtexif.h"
namespace rtexif
{
class TagDirectory;
}
namespace rtengine
{

View File

@@ -30,6 +30,7 @@
#include "utils.h"
#include "../rtgui/options.h"
#include "../rtgui/version.h"
#include "../rtexif/rtexif.h"
#ifdef WIN32
#include <winsock2.h>

View File

@@ -29,8 +29,6 @@
#include "imageformat.h"
#include "rtengine.h"
#include "../rtexif/rtexif.h"
enum {
IMIO_SUCCESS,
IMIO_CANNOTREADFILE,
@@ -42,6 +40,13 @@ enum {
IMIO_CANNOTWRITEFILE
};
namespace rtexif
{
class TagDirectory;
}
namespace rtengine
{
@@ -49,6 +54,13 @@ class ColorTemp;
class ProgressListener;
class Imagefloat;
namespace procparams
{
class ExifPairs;
}
class ImageIO : virtual public ImageDatas
{

View File

@@ -33,6 +33,7 @@
#include "imagefloat.h"
#include "improcfun.h"
#include "labimage.h"
#include "lcp.h"
#include "procparams.h"
#include "refreshmap.h"

View File

@@ -18,17 +18,17 @@
*/
#pragma once
#include <memory>
#include "color.h"
#include "coord2d.h"
#include "gamutwarning.h"
#include "lcp.h"
#include "LUT.h"
#include "pipettebuffer.h"
#include "shmap.h"
template<typename T, const size_t num>
class multi_array2D;
namespace rtengine
{
@@ -38,6 +38,7 @@ class DCPProfile;
class DCPProfileApplyState;
class FlatCurve;
class FramesMetaData;
class LensCorrection;
class NoiseCurve;
class OpacityCurve;
class ToneCurve;

View File

@@ -32,6 +32,7 @@
#include "lcp.h"
#include "opthelper.h"
#include "procparams.h"
#include "rt_math.h"
#include "settings.h"

View File

@@ -29,7 +29,6 @@
#include <expat.h>
#include "cache.h"
#include "opthelper.h"
namespace rtengine
{

View File

@@ -21,6 +21,7 @@
#include <array>
#include <ctime>
#include <string>
#include <memory>
#include <glibmm/ustring.h>
@@ -34,8 +35,6 @@
#include "rt_math.h"
#include "settings.h"
#include "../rtexif/rtexif.h"
#include "../rtgui/threadutils.h"
/**
@@ -45,6 +44,12 @@
*/
class EditDataProvider;
namespace rtexif
{
class TagDirectory;
}
namespace rtengine
{

View File

@@ -23,6 +23,7 @@
#include <gtkmm.h>
#include "toolpanel.h"
#include "../rtexif/rtexif.h"
class ExifPanel :
public Gtk::VBox,

View File

@@ -16,6 +16,9 @@
* You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/
#include <iomanip>
#include "resize.h"
#include "eventmapper.h"

View File

@@ -35,6 +35,7 @@
#include "../rtengine/dynamicprofile.h"
#include "../rtengine/profilestore.h"
#include "../rtengine/settings.h"
#include "../rtexif/rtexif.h"
#include "guiutils.h"
#include "batchqueue.h"
#include "extprog.h"

View File

@@ -18,6 +18,7 @@
*/
#include "multilangmgr.h"
#include "toolpanelcoord.h"
#include "metadatapanel.h"
#include "options.h"
#include "rtimage.h"
#include "../rtengine/imagesource.h"

View File

@@ -54,7 +54,6 @@
#include "lensgeomlistener.h"
#include "lensprofile.h"
#include "localcontrast.h"
#include "metadatapanel.h"
#include "pcvignette.h"
#include "pdsharpening.h"
#include "perspective.h"
@@ -89,6 +88,7 @@
#include "../rtengine/rtengine.h"
class ImageEditorCoordinator;
class MetaDataPanel;
class ToolPanelCoordinator :
public ToolPanelListener,