Move TrustedDevice to its own source files.
[dcpomatic.git] / src / lib / screen.cc
index 6323708101b6b0ff9f20748d18fc651593c68ba1..c4bcb41c7d18a1a4aef1d98ed6032b1480910f5b 100644 (file)
@@ -77,38 +77,6 @@ Screen::trusted_device_thumbprints () const
        return t;
 }
 
-TrustedDevice::TrustedDevice (string thumbprint)
-       : _thumbprint (thumbprint)
-{
-
-}
-
-TrustedDevice::TrustedDevice (dcp::Certificate certificate)
-       : _certificate (certificate)
-{
-
-}
-
-string
-TrustedDevice::as_string () const
-{
-       if (_certificate) {
-               return _certificate->certificate(true);
-       }
-
-       return *_thumbprint;
-}
-
-string
-TrustedDevice::thumbprint () const
-{
-       if (_certificate) {
-               return _certificate->thumbprint ();
-       }
-
-       return *_thumbprint;
-}
-
 
 KDMWithMetadataPtr
 kdm_for_screen (