Forward declare ColorTemp

This commit is contained in:
Ingo Weyrich
2019-10-29 12:33:14 +01:00
parent e92a99350b
commit 3aa84c48da
15 changed files with 17 additions and 6 deletions

View File

@@ -24,6 +24,7 @@
// //
#include <cstdint> #include <cstdint>
#include "colortemp.h"
#include "rtengine.h" #include "rtengine.h"
#include "rawimagesource.h" #include "rawimagesource.h"
#include "rt_math.h" #include "rt_math.h"

View File

@@ -2,6 +2,7 @@
#include "clutstore.h" #include "clutstore.h"
#include "colortemp.h"
#include "iccstore.h" #include "iccstore.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "opthelper.h" #include "opthelper.h"

View File

@@ -16,8 +16,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>. * along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/ */
#ifndef _COLORTEMP_ #pragma once
#define _COLORTEMP_
#include <cmath> #include <cmath>
#include <map> #include <map>
@@ -207,4 +206,3 @@ public:
}; };
} }
#endif

View File

@@ -29,12 +29,12 @@
#include "../rtgui/threadutils.h" #include "../rtgui/threadutils.h"
#include "curves.h" #include "curves.h"
#include "colortemp.h"
#include "noncopyable.h" #include "noncopyable.h"
namespace rtengine namespace rtengine
{ {
class ColorTemp;
class Imagefloat; class Imagefloat;
class DCPProfile final class DCPProfile final

View File

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

View File

@@ -18,6 +18,7 @@
*/ */
#include <cstdio> #include <cstdio>
#include "colortemp.h"
#include "image16.h" #include "image16.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "image8.h" #include "image8.h"

View File

@@ -18,6 +18,8 @@
*/ */
#include <cstring> #include <cstring>
#include <cstdio> #include <cstdio>
#include "colortemp.h"
#include "image8.h" #include "image8.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "rtengine.h" #include "rtengine.h"

View File

@@ -17,6 +17,8 @@
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>. * along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
*/ */
#include <tiffio.h> #include <tiffio.h>
#include "colortemp.h"
#include "imagefloat.h" #include "imagefloat.h"
#include "image16.h" #include "image16.h"
#include "image8.h" #include "image8.h"

View File

@@ -37,11 +37,11 @@
#include "../rtexif/rtexif.h" #include "../rtexif/rtexif.h"
#include "imagedimensions.h" #include "imagedimensions.h"
#include "iimage.h" #include "iimage.h"
#include "colortemp.h"
namespace rtengine namespace rtengine
{ {
class ColorTemp;
class ProgressListener; class ProgressListener;
class Imagefloat; class Imagefloat;

View File

@@ -23,7 +23,6 @@
#include <glibmm.h> #include <glibmm.h>
#include "colortemp.h"
#include "coord2d.h" #include "coord2d.h"
#include "dcp.h" #include "dcp.h"
#include "imagedata.h" #include "imagedata.h"
@@ -32,6 +31,7 @@
namespace rtengine namespace rtengine
{ {
class ColorTemp;
class Imagefloat; class Imagefloat;
namespace procparams namespace procparams

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 "improccoordinator.h" #include "improccoordinator.h"
#include "cieimage.h" #include "cieimage.h"
#include "image8.h" #include "image8.h"
#include "imagefloat.h" #include "imagefloat.h"

View File

@@ -21,6 +21,7 @@
#include <memory> #include <memory>
#include "colortemp.h"
#include "rtengine.h" #include "rtengine.h"
#include "improcfun.h" #include "improcfun.h"
#include "imagesource.h" #include "imagesource.h"

View File

@@ -24,6 +24,7 @@
#include "array2D.h" #include "array2D.h"
#include "color.h" #include "color.h"
#include "colortemp.h"
#include "curves.h" #include "curves.h"
#include "dcp.h" #include "dcp.h"
#include "iimage.h" #include "iimage.h"

View File

@@ -19,6 +19,7 @@
#ifndef _STDIMAGESOURCE_ #ifndef _STDIMAGESOURCE_
#define _STDIMAGESOURCE_ #define _STDIMAGESOURCE_
#include "colortemp.h"
#include "imagesource.h" #include "imagesource.h"
namespace rtengine namespace rtengine

View File

@@ -24,6 +24,7 @@
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <glibmm.h> #include <glibmm.h>
#include "../rtengine/colortemp.h"
#include "../rtengine/imagedata.h" #include "../rtengine/imagedata.h"
#include "../rtengine/procparams.h" #include "../rtengine/procparams.h"
#include <glib/gstdio.h> #include <glib/gstdio.h>