diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-26 23:18:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-26 23:18:51 +0100 |
| commit | 39a7a8be0bdb499423f96aa23ed3bffdc7d6c912 (patch) | |
| tree | 847ea6e5b055f94e33bcc0a91ad4ba4d29a81d8a /src/lib/internet.h | |
| parent | 2d48fee30e323dfea9cc331f881637d91ee0895a (diff) | |
Support download of KDMs from a web service in swaroop profile.v2.13.56
Diffstat (limited to 'src/lib/internet.h')
| -rw-r--r-- | src/lib/internet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/internet.h b/src/lib/internet.h index 15746a44a..101eaeae9 100644 --- a/src/lib/internet.h +++ b/src/lib/internet.h @@ -22,5 +22,8 @@ #include <boost/function.hpp> #include <boost/filesystem.hpp> +class ScopedTemporary; + +boost::optional<std::string> get_from_url (std::string url, bool pasv, ScopedTemporary& temp); boost::optional<std::string> get_from_url (std::string url, bool pasv, boost::function<void (boost::filesystem::path)> load); boost::optional<std::string> get_from_zip_url (std::string url, std::string file, bool pasv, boost::function<void (boost::filesystem::path)> load); |
