6 #include <QRecursiveMutex>
28 void UpdateImageCache();
29 void SetScreenSize(QSize Size);
30 void ClearThemeCacheDir();
31 QString GetThemeCacheDir();
32 MythImage* LoadCacheImage(QString File,
const QString& Label,
35 void RemoveFromCacheByFile(
const QString& File);
36 bool IsImageInCache(
const QString& URL);
37 void IncludeInCacheSize(
MythImage* Image);
38 void ExcludeFromCacheSize(
MythImage* Image);
42 QString GetCacheDirByUrl(
const QString& URL);
43 void RemoveFromCacheByURL(
const QString& URL);
44 MythImage* GetImageFromCache(
const QString& URL);
45 void ClearOldImageCache();
46 void RemoveCacheDir(
const QString& Dir);
47 static void PruneCacheDir(
const QString& Dir);
52 QAtomicInteger<qint64> m_cacheSize { 0 };
53 QAtomicInteger<qint64> m_maxCacheSize { 30LL * 1024 * 1024 };