diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-29 14:24:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-29 14:24:09 +0100 |
| commit | e3f4b24468b39701030025f83f18d85c5c4e0844 (patch) | |
| tree | 509e98315491593aab707e127ed26b65d59681be /src/util.h | |
| parent | d697e7bedb1e42f5167c92fd9ab363f496d718f5 (diff) | |
Optional progress reporting when making MXF hashes.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,6 +27,7 @@ #include <string> #include <stdint.h> #include <boost/shared_ptr.hpp> +#include <boost/function.hpp> #include <openjpeg.h> #include "types.h" @@ -60,7 +61,7 @@ extern bool operator== (Size const & a, Size const & b); extern bool operator!= (Size const & a, Size const & b); extern std::string make_uuid (); -extern std::string make_digest (std::string filename); +extern std::string make_digest (std::string filename, boost::function<void (float)> *); extern std::string content_kind_to_string (ContentKind kind); extern ContentKind content_kind_from_string (std::string kind); extern bool empty_or_white_space (std::string s); |
