From 3916a50bf9a7b49a77d7c76b1e41a7773a04f53f Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Fri, 18 Dec 2020 01:13:31 -0500 Subject: add prefetch (default off) --- imgmanager.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'imgmanager.hpp') diff --git a/imgmanager.hpp b/imgmanager.hpp index c7e2119..46d8ab3 100644 --- a/imgmanager.hpp +++ b/imgmanager.hpp @@ -14,6 +14,7 @@ public: Cache &GetCache(); void LoadFromURL(std::string url, callback_type cb); + void Prefetch(std::string url); Glib::RefPtr GetFromURLIfCached(std::string url); Glib::RefPtr GetPlaceholder(int size); -- cgit v1.2.3