summaryrefslogtreecommitdiff
path: root/glcdskin/cache.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2011-05-07 21:15:13 +0200
committermrwastl <mrwastl@users.sourceforge.net>2011-05-07 21:15:13 +0200
commit00e8503d301acc98c012b4ebd5467ebcd99915d0 (patch)
tree8d4bad9142a375566f558ae3f866534cf5d043aa /glcdskin/cache.h
parent36ea730a7024db3a9738183f870367153f1b1578 (diff)
downloadgraphlcd-base-00e8503d301acc98c012b4ebd5467ebcd99915d0.tar.gz
graphlcd-base-00e8503d301acc98c012b4ebd5467ebcd99915d0.tar.bz2
store failed image paths in image cache and take these into account when loading images -> no more flooding of /var/log/messages
Diffstat (limited to 'glcdskin/cache.h')
-rw-r--r--glcdskin/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glcdskin/cache.h b/glcdskin/cache.h
index 925ebcc..3862b51 100644
--- a/glcdskin/cache.h
+++ b/glcdskin/cache.h
@@ -46,6 +46,7 @@ private:
cSkin * skin;
size_t size;
std::vector <cImageItem *> images;
+ std::vector <std::string> failedpaths;
cImageItem * LoadImage(const std::string & path);
public: