c848860aa9c73c0487fe735b013c2a706fa223c9
[dcpomatic.git] / src / lib / content.h
1 #include <boost/filesystem.hpp>
2 #include <boost/thread/mutex.hpp>
3
4 class Content
5 {
6 public:
7         boost::filesystem::path file () const {
8                 boost::mutex::scoped_lock lm (_mutex);
9                 return _file;
10         }
11
12 protected:
13         boost::mutex _mutex;
14
15 private:
16         boost::filesystem::path _file;
17 };