summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-16 22:20:39 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-16 22:20:39 +0100
commitbfc0b96db6cc6c2e94d93f9c4239adca14a6bb0c (patch)
tree1038f16144cfe58995e31650925f066b67fda677 /src/lib/content.h
parente16c8ed02a0cb1f733a990d75a9de1bf50cf89bd (diff)
More noncopyable.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index cd8914cba..a340fb1aa 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -42,20 +42,18 @@ public:
static int const LENGTH;
};
-class Content : public boost::enable_shared_from_this<Content>
+class Content : public boost::enable_shared_from_this<Content>, public boost::noncopyable
{
public:
Content (boost::shared_ptr<const Film>, Time);
Content (boost::shared_ptr<const Film>, boost::filesystem::path);
Content (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>);
- Content (Content const &);
virtual ~Content () {}
virtual void examine (boost::shared_ptr<Job>);
virtual std::string summary () const = 0;
virtual std::string information () const = 0;
virtual void as_xml (xmlpp::Node *) const;
- virtual boost::shared_ptr<Content> clone () const = 0;
virtual Time length () const = 0;
boost::filesystem::path file () const {