1 #ifndef DVDOMATIC_CONTENT_H
2 #define DVDOMATIC_CONTENT_H
4 #include <boost/filesystem.hpp>
5 #include <boost/signals2.hpp>
6 #include <boost/thread/mutex.hpp>
14 Content (boost::filesystem::path);
16 virtual void examine (boost::shared_ptr<Film>, boost::shared_ptr<Job>, bool);
17 virtual std::string summary () const = 0;
19 boost::filesystem::path file () const {
20 boost::mutex::scoped_lock lm (_mutex);
24 boost::signals2::signal<void (int)> Changed;
27 mutable boost::mutex _mutex;
30 boost::filesystem::path _file;