summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-31 02:19:40 +0100
committerCarl Hetherington <cth@carlh.net>2013-03-31 02:19:40 +0100
commited78fd3d138114185e43edf81ffe91db17377da0 (patch)
tree398eede0828b52f222193fbdb5011791f92c774f /src/lib/content.h
parentd4f6b22be930567dfc25be027b28a747d287d8a0 (diff)
Skeletal remains.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
new file mode 100644
index 000000000..c848860aa
--- /dev/null
+++ b/src/lib/content.h
@@ -0,0 +1,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;
+};