summaryrefslogtreecommitdiff
path: root/src/wx/screen_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-15 20:23:25 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-15 20:23:25 +0000
commite170d9908c191180aefe71ff7cfa81a5ba08ed83 (patch)
treebfa566bcf3242500e030cc1bbed64a313846ffa8 /src/wx/screen_dialog.h
parent3a67f024a614687a811ecb5c96a56fc664f04c3a (diff)
Save trusted devices.
Diffstat (limited to 'src/wx/screen_dialog.h')
-rw-r--r--src/wx/screen_dialog.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h
index edfb619b5..2985516c4 100644
--- a/src/wx/screen_dialog.h
+++ b/src/wx/screen_dialog.h
@@ -29,10 +29,19 @@ class FileDialogWrapper;
class ScreenDialog : public wxDialog
{
public:
- ScreenDialog (wxWindow *, std::string, std::string name = "", boost::optional<dcp::Certificate> c = boost::optional<dcp::Certificate> ());
+ ScreenDialog (
+ wxWindow *,
+ std::string,
+ std::string name = "",
+ boost::optional<dcp::Certificate> c = boost::optional<dcp::Certificate> (),
+ std::vector<dcp::Certificate> d = std::vector<dcp::Certificate> ()
+ );
std::string name () const;
boost::optional<dcp::Certificate> recipient () const;
+ std::vector<dcp::Certificate> trusted_devices () {
+ return _trusted_devices;
+ }
private:
void get_recipient_from_file ();
@@ -41,10 +50,6 @@ private:
void setup_sensitivity ();
void set_recipient (boost::optional<dcp::Certificate>);
- std::vector<dcp::Certificate> trusted_devices () {
- return _trusted_devices;
- }
-
void set_trusted_devices (std::vector<dcp::Certificate> d) {
_trusted_devices = d;
}