diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-30 00:28:33 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-05-06 20:36:02 +0200 |
| commit | c4e10c9a007345cca8594d7bfd23138d56e21d5e (patch) | |
| tree | 7ae58f6db433850666c6d2a70f112666ceea23a9 /src/lib/screen.h | |
| parent | bcb5a3f8bc060240db5573ded03e1a0521977207 (diff) | |
Move TrustedDevice to its own source files.
Diffstat (limited to 'src/lib/screen.h')
| -rw-r--r-- | src/lib/screen.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/lib/screen.h b/src/lib/screen.h index 33c7f280c..a564f1ed3 100644 --- a/src/lib/screen.h +++ b/src/lib/screen.h @@ -22,6 +22,7 @@ #define DCPOMATIC_SCREEN_H #include "kdm_with_metadata.h" +#include "trusted_device.h" #include <dcp/certificate.h> #include <libcxml/cxml.h> #include <boost/optional.hpp> @@ -30,24 +31,6 @@ class Cinema; class Film; -class TrustedDevice -{ -public: - explicit TrustedDevice (std::string); - explicit TrustedDevice (dcp::Certificate); - - boost::optional<dcp::Certificate> certificate () const { - return _certificate; - } - - std::string thumbprint () const; - std::string as_string () const; - -private: - boost::optional<dcp::Certificate> _certificate; - boost::optional<std::string> _thumbprint; -}; - namespace dcpomatic { /** @class Screen |
