summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-17 21:09:39 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-17 21:09:39 +0100
commit82d22d7ff5328fae4f2e3048e63a2b11f3ce36b4 (patch)
tree82bdbe0285f159bcfd8204d53efe938bd5999095 /src/util.h
parent4709b2fe88040f3678560997726f3a209eacc660 (diff)
Doc fixes.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 9ed674f7..e4034da2 100644
--- a/src/util.h
+++ b/src/util.h
@@ -21,8 +21,18 @@
#include <sigc++/sigc++.h>
namespace libdcp {
-
+
+/** Create a UUID.
+ * @return UUID.
+ */
extern std::string make_uuid ();
-extern std::string make_digest (std::string, sigc::signal1<void, float> *);
+
+/** Create a digest for a file.
+ * @param filename File name.
+ * @param progress If non-0, a signal which will be emitted periodically to update
+ * progress; the parameter will start at 0.5 and proceed to 1.
+ * @return Digest.
+ */
+extern std::string make_digest (std::string filename, sigc::signal1<void, float>* progress);
}