diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-24 09:29:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-24 09:29:28 +0100 |
| commit | f0d7baf0ce956fe5461caa91868c41d881b5f0dc (patch) | |
| tree | 946d9fe2be68a6049ea4835d7edf825c491dd02c /src/lib/content.h | |
| parent | 0e2c7f060529d93035e89b06d4aa687830a5e0ad (diff) | |
| parent | f28102477a712b8dde0f157d33b087d642c84555 (diff) | |
Merge 1.0.
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 9c7ad2fc2..c066c61e0 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -38,6 +38,7 @@ class Film; class ContentProperty { public: + static int const PATH; static int const POSITION; static int const LENGTH; static int const TRIM_START; @@ -61,12 +62,16 @@ public: virtual std::string identifier () const; boost::shared_ptr<Content> clone () const; + + void set_path (boost::filesystem::path); boost::filesystem::path path () const { boost::mutex::scoped_lock lm (_mutex); return _path; } + bool path_valid () const; + /** @return MD5 digest of the content's file(s) */ std::string digest () const { boost::mutex::scoped_lock lm (_mutex); |
