Introduce rtengine/noncopyable.hpp

This commit is contained in:
Flössie
2016-10-08 15:36:44 +02:00
parent 8a2b2e6700
commit d132149a26
20 changed files with 142 additions and 105 deletions

View File

@@ -20,14 +20,19 @@
#define _THUMBIMAGEUPDATER_
#include <glibmm.h>
#include "../rtengine/rtengine.h"
#include "thumbbrowserentrybase.h"
#include <glib.h>
#include "../rtengine/rtengine.h"
#include "../rtengine/noncopyable.h"
#include "thumbbrowserentrybase.h"
class ThumbImageUpdateListener
{
public:
virtual ~ThumbImageUpdateListener()
{
}
/**
* @brief Called when thumbnail image is update
@@ -38,16 +43,15 @@ public:
*
* @note no locks are held when called back
*/
virtual void updateImage (rtengine::IImage8* img, double scale, rtengine::procparams::CropParams cropParams) {}
virtual void updateImage(rtengine::IImage8* img, double scale, rtengine::procparams::CropParams cropParams)
{
}
};
class ThumbImageUpdater
class ThumbImageUpdater :
public rtengine::NonCopyable
{
public:
ThumbImageUpdater(const ThumbImageUpdater&) = delete;
/**
* @brief Singleton entry point.
*