summaryrefslogtreecommitdiff
path: root/src/wx/screen_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-21 23:39:03 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-09 17:04:02 +0100
commit2fd641547b5fb795fc17e98e47f489fa82e8ff42 (patch)
treeebfd84898df8e1eabaaa2888c89e0c71137cb301 /src/wx/screen_dialog.h
parentcf65c2709664936940935996499ac87dc47515f0 (diff)
Display the filename / URL that a screen certificate was obtained from (#1894).
Diffstat (limited to 'src/wx/screen_dialog.h')
-rw-r--r--src/wx/screen_dialog.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h
index 49e4d092a..fcb3fba5d 100644
--- a/src/wx/screen_dialog.h
+++ b/src/wx/screen_dialog.h
@@ -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;