X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.h;h=913480d76be734e0b7febfb930b80bf904e4a02a;hb=350afcbc40fffd8c8780180e153a2ee91088f562;hp=9bb7d863ea6ea5724c609eff8dca061c270e3fab;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h index 9bb7d863e..913480d76 100644 --- a/src/wx/screen_dialog.h +++ b/src/wx/screen_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2016 Carl Hetherington + Copyright (C) 2012-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -19,13 +19,14 @@ */ #include "editable_list.h" +#include "lib/screen.h" #include #include #include #include class Progress; -class CertificateFileDialogWrapper; +class TrustedDeviceDialog; class ScreenDialog : public wxDialog { @@ -36,13 +37,13 @@ public: std::string name = "", std::string notes = "", boost::optional c = boost::optional (), - std::vector d = std::vector () + std::vector d = std::vector() ); std::string name () const; std::string notes () const; boost::optional recipient () const; - std::vector trusted_devices () { + std::vector trusted_devices () { return _trusted_devices; } @@ -53,7 +54,7 @@ private: void setup_sensitivity (); void set_recipient (boost::optional); - void set_trusted_devices (std::vector d) { + void set_trusted_devices (std::vector d) { _trusted_devices = d; } @@ -63,8 +64,8 @@ private: wxStaticText* _recipient_thumbprint; wxButton* _get_recipient_from_file; wxButton* _download_recipient; - EditableList* _trusted_device_list; + EditableList* _trusted_device_list; boost::optional _recipient; - std::vector _trusted_devices; + std::vector _trusted_devices; };