Move TrustedDevice to its own source files.
[dcpomatic.git] / src / lib / screen.h
index 40990b684e04a4f6eac4e86c717e749032977e4d..abc229ec657f6531cfaa73c1b927e9c8be7edd4b 100644 (file)
@@ -21,6 +21,7 @@
 #ifndef DCPOMATIC_SCREEN_H
 #define DCPOMATIC_SCREEN_H
 
+#include "trusted_device.h"
 #include <dcp/certificate.h>
 #include <libcxml/cxml.h>
 #include <boost/optional.hpp>
 
 class Cinema;
 
-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