Refresh cached image data if sidecar is changed

This commit is contained in:
Lawrence Lee
2023-05-14 18:18:27 -07:00
parent 572a75f02a
commit c557b320c2
6 changed files with 55 additions and 5 deletions

View File

@@ -27,6 +27,7 @@
#include "../rtengine/noncopyable.h"
class CacheImageData;
class Thumbnail;
class CacheManager :
@@ -42,6 +43,7 @@ private:
void deleteFiles (const Glib::ustring& fname, const std::string& md5, bool purgeData, bool purgeProfile) const;
void applyCacheSizeLimitation () const;
void updateImageInfo(const Glib::ustring &fname, CacheImageData &imageData, const Glib::ustring &xmpSidecarMd5) const;
public:
static CacheManager* getInstance ();