diff options
Diffstat (limited to 'src/lib/content.h')
| -rw-r--r-- | src/lib/content.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h index 8db35891a..fd6288acc 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -60,6 +60,11 @@ public: return _digest; } + Time time () const { + boost::mutex::scoped_lock lm (_mutex); + return _time; + } + boost::signals2::signal<void (boost::weak_ptr<Content>, int)> Changed; protected: @@ -70,6 +75,7 @@ protected: private: boost::filesystem::path _file; std::string _digest; + Time _time; }; #endif |
