diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-20 21:17:54 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-20 21:17:54 +0200 |
| commit | 86eb90b563efb7ef093d5b17a5d6db0fc330e301 (patch) | |
| tree | 61d19ca8d8222b8191bd12e650bf4f831b42c180 /src/lib/dcp.h | |
| parent | 3855bfd7991b1d7411934fc564dd5714eca6bc1b (diff) | |
Remove DCP class and replace its functionality with a plain method in libdcp.
Diffstat (limited to 'src/lib/dcp.h')
| -rw-r--r-- | src/lib/dcp.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/lib/dcp.h b/src/lib/dcp.h deleted file mode 100644 index d8e0aec27..000000000 --- a/src/lib/dcp.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - Copyright (C) 2014-2016 Carl Hetherington <cth@carlh.net> - - This file is part of DCP-o-matic. - - DCP-o-matic is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - DCP-o-matic is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>. - -*/ - - -#ifndef DCPOMATIC_DCP_H -#define DCPOMATIC_DCP_H - - -#include <list> -#include <memory> - - -namespace dcp { - class CPL; -} - - -class DCPContent; - - -class DCP -{ -public: - std::list<std::shared_ptr<dcp::CPL>> cpls () const; - -protected: - explicit DCP (std::shared_ptr<const DCPContent> content, bool tolerant) - : _dcp_content (content) - , _tolerant (tolerant) - {} - - std::shared_ptr<const DCPContent> _dcp_content; - -private: - bool _tolerant; -}; - - -#endif |
