From bafd2fa25ab4b5e11ab30f2679a8df91caf027bf Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 20 Jan 2021 02:26:04 -0500 Subject: add menu item to clear image cache --- filecache.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'filecache.hpp') diff --git a/filecache.hpp b/filecache.hpp index 394b8ca..0826fc0 100644 --- a/filecache.hpp +++ b/filecache.hpp @@ -17,6 +17,7 @@ public: using callback_type = std::function; void GetFileFromURL(std::string url, callback_type cb); std::string GetPathIfCached(std::string url); + void ClearCache(); private: std::string GetCachedName(std::string str); -- cgit v1.2.3