summaryrefslogtreecommitdiff
path: root/src/lib/content.h
blob: c848860aa9c73c0487fe735b013c2a706fa223c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <boost/filesystem.hpp>
#include <boost/thread/mutex.hpp>

class Content
{
public:
	boost::filesystem::path file () const {
		boost::mutex::scoped_lock lm (_mutex);
		return _file;
	}

protected:
	boost::mutex _mutex;

private:
	boost::filesystem::path _file;
};