X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Finternet.h;h=25513e6667d8e0489ebc4557d848b97ed99cbe7e;hp=8aa7264c61372d07c75f46a40cf5f59cf4ab3f55;hb=8963f0007af1a312017b9627c18b82ec2a577591;hpb=29f84e2b8785585885e0658bdf9938967547460f diff --git a/src/lib/internet.h b/src/lib/internet.h index 8aa7264c6..25513e666 100644 --- a/src/lib/internet.h +++ b/src/lib/internet.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2020 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -19,12 +19,13 @@ */ #include -#include #include + 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 (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); +boost::optional get_from_url (std::string url, bool pasv, bool skip_pasv_ip, std::function (boost::filesystem::path)> load); +boost::optional get_from_zip_url (std::string url, std::string file, bool pasv, bool skip_pasv_ip, std::function (boost::filesystem::path)> load); std::list ls_url (std::string url);