diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-24 15:13:43 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-24 15:13:43 +0100 |
commit | d372e2ec7c67b848d7f67146506453af6d6a5379 (patch) | |
tree | b1e6c4d3cebeb45b7573548f4b228d7e18fb9d45 /oop2eindopdr/CacheManager.h | |
parent | 1a267bb841a2a0b8d0bfe478b62d664d7457ae7a (diff) |
cache working (no image downloads yet)
Diffstat (limited to 'oop2eindopdr/CacheManager.h')
-rw-r--r-- | oop2eindopdr/CacheManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oop2eindopdr/CacheManager.h b/oop2eindopdr/CacheManager.h index 7b740ec..e441b1b 100644 --- a/oop2eindopdr/CacheManager.h +++ b/oop2eindopdr/CacheManager.h @@ -31,8 +31,10 @@ public: /** @brief get fstream for file in cache or create file */ virtual std::fstream* cache_get(const char* filename); + virtual std::fstream* cache_get(std::string filename); /** @brief check if file exists in cache */ virtual bool cache_exists(const char* filename); + virtual bool cache_exists(std::string filename); /** @brief currently opened cache update unix timestamp */ uint64_t age; |