X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.h;h=2c2d8b8bfe45536a65e56a61d45c3e6f45adc00d;hb=e7ee69e61c1bd968e85fc8d7b3641c0fc4282813;hp=9bb7d863ea6ea5724c609eff8dca061c270e3fab;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h index 9bb7d863e..2c2d8b8bf 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-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,14 +18,17 @@ */ + #include "editable_list.h" +#include "lib/screen.h" #include #include -#include #include + class Progress; -class CertificateFileDialogWrapper; +class TrustedDeviceDialog; + class ScreenDialog : public wxDialog { @@ -35,14 +38,14 @@ public: wxString, std::string name = "", std::string notes = "", - boost::optional c = boost::optional (), - std::vector d = std::vector () + boost::optional c = boost::optional(), + 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 +56,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 +66,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; };