projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More player debugging for butler video-full states.
[dcpomatic.git]
/
src
/
lib
/
internet.h
diff --git
a/src/lib/internet.h
b/src/lib/internet.h
index 9b88bde973fe409d055f2b29e6f70bbfad7cd469..101eaeae969bf3ae50d1cf4af3a5c75fd18c89d0 100644
(file)
--- a/
src/lib/internet.h
+++ b/
src/lib/internet.h
@@
-22,4
+22,8
@@
#include <boost/function.hpp>
#include <boost/filesystem.hpp>
#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);
boost::optional<std::string> get_from_zip_url (std::string url, std::string file, bool pasv, boost::function<void (boost::filesystem::path)> load);