diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-17 17:33:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-17 17:33:35 +0100 |
| commit | 33e13c4053138930f4b2f59349e441c76111059d (patch) | |
| tree | 4a4da8c31d0a78bc11539ae89a5d67602cdcb913 /src/lib/content.h | |
| parent | e573f4fa173608dcb7ca23f543b49d5be26a8226 (diff) | |
Assorted C++11 tidying.
Diffstat (limited to 'src/lib/content.h')
| -rw-r--r-- | src/lib/content.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/content.h b/src/lib/content.h index eafadd3ec..b8626e212 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,10 +18,12 @@ */ + /** @file src/lib/content.h * @brief Content class. */ + #ifndef DCPOMATIC_CONTENT_H #define DCPOMATIC_CONTENT_H @@ -59,19 +61,23 @@ public: static int const VIDEO_FRAME_RATE; }; + /** @class Content * @brief A piece of content represented by one or more files on disk. */ -class Content : public std::enable_shared_from_this<Content>, public Signaller, public boost::noncopyable +class Content : public std::enable_shared_from_this<Content>, public Signaller { public: explicit Content (); Content (dcpomatic::DCPTime); Content (boost::filesystem::path); Content (cxml::ConstNodePtr); - Content (std::vector<std::shared_ptr<Content> >); + Content (std::vector<std::shared_ptr<Content>>); virtual ~Content () {} + Content (Content const&) = delete; + Content& operator= (Content const&) = delete; + /** Examine the content to establish digest, frame rates and any other * useful metadata. * @param job Job to use to report progress, or 0. |
