Turn almost all Listeners into abstract interfaces

This commit is contained in:
Flössie
2018-10-09 20:32:40 +02:00
parent 2a9d3896bb
commit 2125f42116
159 changed files with 1385 additions and 939 deletions

View File

@@ -30,9 +30,7 @@
class ThumbImageUpdateListener
{
public:
virtual ~ThumbImageUpdateListener()
{
}
virtual ~ThumbImageUpdateListener() = default;
/**
* @brief Called when thumbnail image is update
@@ -43,9 +41,7 @@ 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, const rtengine::procparams::CropParams& cropParams) = 0;
};
class ThumbImageUpdater :