Introduce rtengine/noncopyable.hpp
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user