summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h5
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);