diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-08 21:32:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-08 21:32:44 +0200 |
| commit | 3339d3bce70afe9ae2ca10e9fcfc4b54b748fbf4 (patch) | |
| tree | 9cac355432ba25cc3d43017382d73e0640f50996 /src/lib/dcp.h | |
| parent | 00762c2d9a4240d016150cd7555aee3dad8542ae (diff) | |
Assorted C++11/formatting cleanups.
Diffstat (limited to 'src/lib/dcp.h')
| -rw-r--r-- | src/lib/dcp.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/dcp.h b/src/lib/dcp.h index d72ce6833..d8e0aec27 100644 --- a/src/lib/dcp.h +++ b/src/lib/dcp.h @@ -18,19 +18,27 @@ */ + #ifndef DCPOMATIC_DCP_H #define DCPOMATIC_DCP_H -#include <dcp/cpl.h> + #include <list> -#include <iostream> +#include <memory> + + +namespace dcp { + class CPL; +} + class DCPContent; + class DCP { public: - std::list<std::shared_ptr<dcp::CPL> > cpls () const; + std::list<std::shared_ptr<dcp::CPL>> cpls () const; protected: explicit DCP (std::shared_ptr<const DCPContent> content, bool tolerant) @@ -44,4 +52,5 @@ private: bool _tolerant; }; + #endif |
