summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-29 14:24:09 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-29 14:24:09 +0100
commite3f4b24468b39701030025f83f18d85c5c4e0844 (patch)
tree509e98315491593aab707e127ed26b65d59681be /src/util.h
parentd697e7bedb1e42f5167c92fd9ab363f496d718f5 (diff)
Optional progress reporting when making MXF hashes.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 9153dbda..586d197f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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);