diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2016-08-27 10:41:04 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2016-08-27 10:41:04 +0200 |
commit | 30aa1477719849e56abb3624adf2eb4c3d443718 (patch) | |
tree | ade9ba45742f92ea332617e44d18d4b15e650b95 /imagecache.h | |
parent | 0c23467b59062f9e02631b9cb02efc7c8374ca59 (diff) | |
download | skin-flatplus-30aa1477719849e56abb3624adf2eb4c3d443718.tar.gz skin-flatplus-30aa1477719849e56abb3624adf2eb4c3d443718.tar.bz2 |
[add] svdrp command to remove logo from cache
Diffstat (limited to 'imagecache.h')
-rw-r--r-- | imagecache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/imagecache.h b/imagecache.h index 1cd03a58..ce1cff01 100644 --- a/imagecache.h +++ b/imagecache.h @@ -5,7 +5,7 @@ #define MAX_IMAGE_CACHE 999 #define LOGO_PRE_CACHE 200 -// note MAX_LOGO_PRE_CACHE is used twice +// note LOGO_PRE_CACHE is used twice // one for displaychannel and one for menu // you must double the value for the real amount of pre cached logos @@ -24,6 +24,7 @@ public: void Create(void); void Clear(void); + bool RemoveFromCache( std::string Name ); int getCacheCount(void) { if(Overflow) return MAX_IMAGE_CACHE; return InsertIndex+1; } |