diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-12 00:19:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-12 00:19:53 +0100 |
| commit | eb6efc4dbae63b90a7389f9818676279945cdafa (patch) | |
| tree | 1d84bd7438558bed98b9e4cfa08275f4b03ad4b8 /src/lib/content.h | |
| parent | 9b7df719c56b956e8a2aed336677550b64780c5a (diff) | |
Restore digests for content.
Diffstat (limited to 'src/lib/content.h')
| -rw-r--r-- | src/lib/content.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h index fc2672c95..c8aa6b0e0 100644 --- 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: |
