projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Restore digests for content.
[dcpomatic.git]
/
src
/
lib
/
content.h
diff --git
a/src/lib/content.h
b/src/lib/content.h
index fc2672c954bbf875761b0e3443dab5fe2c48709d..c8aa6b0e076b1d6a27594ef3f9048870ddcd4fee 100644
(file)
--- a/
src/lib/content.h
+++ b/
src/lib/content.h
@@
-51,6
+51,11
@@
public:
return _file;
}
+ std::string digest () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _digest;
+ }
+
boost::signals2::signal<void (boost::weak_ptr<Content>, int)> Changed;
protected: