Forward declare Image8

This commit is contained in:
Ingo Weyrich 2019-10-29 11:44:00 +01:00
parent 54b6b53e12
commit e92a99350b
13 changed files with 18 additions and 11 deletions

View File

@ -19,6 +19,7 @@
*/ */
#include "cieimage.h" #include "cieimage.h"
#include "image8.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "labimage.h" #include "labimage.h"
#include "curves.h" #include "curves.h"

View File

@ -21,7 +21,6 @@
#include "improccoordinator.h" #include "improccoordinator.h"
#include "rtengine.h" #include "rtengine.h"
#include "improcfun.h" #include "improcfun.h"
#include "image8.h"
#include "imagesource.h" #include "imagesource.h"
#include "procevents.h" #include "procevents.h"
#include "pipettebuffer.h" #include "pipettebuffer.h"
@ -30,6 +29,8 @@
namespace rtengine namespace rtengine
{ {
class Image8;
using namespace procparams; using namespace procparams;
class ImProcCoordinator; class ImProcCoordinator;

View File

@ -22,7 +22,6 @@
#include "rawimagesource.h" #include "rawimagesource.h"
#include "rawimage.h" #include "rawimage.h"
#include "mytime.h" #include "mytime.h"
#include "image8.h"
#include "rt_math.h" #include "rt_math.h"
#include "color.h" #include "color.h"
#include "../rtgui/multilangmgr.h" #include "../rtgui/multilangmgr.h"

View File

@ -23,9 +23,11 @@
* also distributed under the GPL V3+ * also distributed under the GPL V3+
*/ */
#include "gamutwarning.h"
#include <iostream> #include <iostream>
#include "gamutwarning.h"
#include "image8.h"
namespace rtengine { namespace rtengine {
GamutWarning::GamutWarning(cmsHPROFILE iprof, cmsHPROFILE gamutprof, RenderingIntent intent, bool gamutbpc): GamutWarning::GamutWarning(cmsHPROFILE iprof, cmsHPROFILE gamutprof, RenderingIntent intent, bool gamutbpc):

View File

@ -27,10 +27,11 @@
#include "iccstore.h" #include "iccstore.h"
#include "noncopyable.h" #include "noncopyable.h"
#include "image8.h"
namespace rtengine { namespace rtengine {
class Image8;
enum RenderingIntent : int; enum RenderingIntent : int;
class GamutWarning: public NonCopyable { class GamutWarning: public NonCopyable {

View File

@ -19,11 +19,9 @@
// //
// A class representing a 8 bit rgb image without alpha channel // A class representing a 8 bit rgb image without alpha channel
// //
#ifndef _IMAGE8_ #pragma once
#define _IMAGE8_
#include "imageio.h" #include "imageio.h"
#include "rtengine.h"
namespace rtengine namespace rtengine
{ {
@ -104,4 +102,3 @@ public:
}; };
} }
#endif

View File

@ -26,7 +26,6 @@
#include "colortemp.h" #include "colortemp.h"
#include "coord2d.h" #include "coord2d.h"
#include "dcp.h" #include "dcp.h"
#include "image8.h"
#include "imagedata.h" #include "imagedata.h"
#include "LUT.h" #include "LUT.h"
#include "rtengine.h" #include "rtengine.h"

View File

@ -18,6 +18,7 @@
*/ */
#include "improccoordinator.h" #include "improccoordinator.h"
#include "cieimage.h" #include "cieimage.h"
#include "image8.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "labimage.h" #include "labimage.h"
#include "curves.h" #include "curves.h"

View File

@ -23,7 +23,6 @@
#include "rtengine.h" #include "rtengine.h"
#include "improcfun.h" #include "improcfun.h"
#include "image8.h"
#include "imagesource.h" #include "imagesource.h"
#include "procevents.h" #include "procevents.h"
#include "dcrop.h" #include "dcrop.h"
@ -33,6 +32,8 @@
namespace rtengine namespace rtengine
{ {
class Image8;
using namespace procparams; using namespace procparams;
class Crop; class Crop;

View File

@ -19,7 +19,6 @@
#ifndef _IMPROCFUN_H_ #ifndef _IMPROCFUN_H_
#define _IMPROCFUN_H_ #define _IMPROCFUN_H_
#include "image8.h"
#include "shmap.h" #include "shmap.h"
#include "coord2d.h" #include "coord2d.h"
#include "color.h" #include "color.h"
@ -33,6 +32,7 @@
namespace rtengine namespace rtengine
{ {
class CieImage; class CieImage;
class Image8;
class Imagefloat; class Imagefloat;
class LabImage; class LabImage;
class wavelet_decomposition; class wavelet_decomposition;

View File

@ -17,6 +17,7 @@
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>. * along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/ */
#include "rtengine.h" #include "rtengine.h"
#include "image8.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "labimage.h" #include "labimage.h"
#include "improcfun.h" #include "improcfun.h"

View File

@ -21,6 +21,7 @@
#include "color.h" #include "color.h"
#include "curves.h" #include "curves.h"
#include "iccstore.h" #include "iccstore.h"
#include "image8.h"
#include "image16.h" #include "image16.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "imageio.h" #include "imageio.h"

View File

@ -23,6 +23,9 @@
namespace rtengine namespace rtengine
{ {
class ImageIO;
namespace procparams namespace procparams
{ {