Display the filename / URL that a screen certificate was obtained from (#1894).
[dcpomatic.git] / src / wx / screen_dialog.h
index 49e4d092a6721a747fecd1f548c2850975c827d1..fcb3fba5d651b00c6f1adb0c220cb24724efa051 100644 (file)
@@ -38,13 +38,15 @@ public:
                wxString,
                std::string name = "",
                std::string notes = "",
-               boost::optional<dcp::Certificate> c = boost::optional<dcp::Certificate>(),
-               std::vector<TrustedDevice> d = std::vector<TrustedDevice>()
+               boost::optional<dcp::Certificate> c = {},
+               boost::optional<std::string> f = {},
+               std::vector<TrustedDevice> d = {}
                );
 
        std::string name () const;
        std::string notes () const;
        boost::optional<dcp::Certificate> recipient () const;
+       boost::optional<std::string> recipient_file () const;
        std::vector<TrustedDevice> trusted_devices () {
                return _trusted_devices;
        }
@@ -64,6 +66,7 @@ private:
        wxTextCtrl* _name;
        wxTextCtrl* _notes;
        wxStaticText* _recipient_thumbprint;
+       wxStaticText* _recipient_file;
        wxButton* _get_recipient_from_file;
        wxButton* _download_recipient;
        EditableList<TrustedDevice, TrustedDeviceDialog>* _trusted_device_list;