diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-17 21:09:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-17 21:09:39 +0100 |
| commit | 82d22d7ff5328fae4f2e3048e63a2b11f3ce36b4 (patch) | |
| tree | 82bdbe0285f159bcfd8204d53efe938bd5999095 /src/util.h | |
| parent | 4709b2fe88040f3678560997726f3a209eacc660 (diff) | |
Doc fixes.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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); } |
