From 82d22d7ff5328fae4f2e3048e63a2b11f3ce36b4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 17 Jul 2012 21:09:39 +0100 Subject: Doc fixes. --- src/util.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/util.h') 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 namespace libdcp { - + +/** Create a UUID. + * @return UUID. + */ extern std::string make_uuid (); -extern std::string make_digest (std::string, sigc::signal1 *); + +/** 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* progress); } -- cgit v1.2.3