Support download of KDMs from a web service in swaroop profile.
[dcpomatic.git] / src / lib / internet.h
index 15746a44af8cf726cce096f1bb4e8b24b10f725d..101eaeae969bf3ae50d1cf4af3a5c75fd18c89d0 100644 (file)
@@ -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);