diff options
author | chriszero <zerov83@gmail.com> | 2015-04-05 22:33:05 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-05 22:33:05 +0200 |
commit | f3d792a866ba602458d5d6c521bafa66e56a5528 (patch) | |
tree | 8a0b9c52ca97635cbd682468f629784d0d5b2d6c /pictureCache.h | |
parent | f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9 (diff) | |
download | vdr-plugin-plex-f3d792a866ba602458d5d6c521bafa66e56a5528.tar.gz vdr-plugin-plex-f3d792a866ba602458d5d6c521bafa66e56a5528.tar.bz2 |
Fixes some concurency bugs
Diffstat (limited to 'pictureCache.h')
-rw-r--r-- | pictureCache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pictureCache.h b/pictureCache.h index e63d44b..3d66726 100644 --- a/pictureCache.h +++ b/pictureCache.h @@ -38,7 +38,7 @@ private: }; cPictureCache(); std::deque<CacheInfo> m_qImagesToLoad; - + volatile bool m_bAllInvalidated; std::string FileName(std::string uri, int width); @@ -62,6 +62,7 @@ public: std::string GetPath(std::string uri, int width, int height, bool& cached, std::function<void(cGridElement*)> OnCached = NULL, cGridElement* calle = NULL); void Remove(cGridElement* element); void Remove(std::string uri); + void RemoveAll(); }; #endif // CPICTURECACHE_H |