X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Finternet.h;fp=src%2Flib%2Finternet.h;h=da0bfc005f89d899ad0387546036adb81cd53620;hp=125533b5d7e39aa21741c2b370d3c36fadd66db6;hb=dd0f6069a536f414c5b37c786bb36dfc7fdf3d20;hpb=a0bba66b8a34d594a62750bd595e5cdc561abdf4 diff --git a/src/lib/internet.h b/src/lib/internet.h index 125533b5d..da0bfc005 100644 --- a/src/lib/internet.h +++ b/src/lib/internet.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2019 Carl Hetherington + Copyright (C) 2014-2020 Carl Hetherington This file is part of DCP-o-matic. @@ -25,5 +25,5 @@ class ScopedTemporary; boost::optional get_from_url (std::string url, bool pasv, bool skip_pasv_ip, ScopedTemporary& temp); -boost::optional get_from_url (std::string url, bool pasv, bool skip_pasv_ip, boost::function load); -boost::optional get_from_zip_url (std::string url, std::string file, bool pasv, bool skip_pasv_ip, boost::function load); +boost::optional get_from_url (std::string url, bool pasv, bool skip_pasv_ip, boost::function (boost::filesystem::path)> load); +boost::optional get_from_zip_url (std::string url, std::string file, bool pasv, bool skip_pasv_ip, boost::function (boost::filesystem::path)> load);