X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fcinema_dialog.h;h=0b8362843de68f759c08a08c1b0aae8367b0d093;hp=9cb0a65dc151509c182b50df7752078ff3bf3195;hb=9f125fddff88bf62d36381f9d3f09e5240b033d5;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05 diff --git a/src/wx/cinema_dialog.h b/src/wx/cinema_dialog.h index 9cb0a65dc..0b8362843 100644 --- a/src/wx/cinema_dialog.h +++ b/src/wx/cinema_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,13 +18,18 @@ */ -#include "table_dialog.h" + #include "editable_list.h" #include "email_dialog.h" +#include "table_dialog.h" +#include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include #include + class CinemaDialog : public wxDialog { public: @@ -32,7 +37,7 @@ public: wxWindow *, wxString, std::string name = "", - std::list emails = std::list (), + std::vector emails = std::vector(), std::string notes = "", int utc_offset_hour = 0, int utc_offset_minute = 0 @@ -40,12 +45,11 @@ public: std::string name () const; std::string notes () const; - std::list emails () const; + std::vector emails () const; int utc_offset_hour () const; int utc_offset_minute () const; private: - std::vector get_emails () const; void set_emails (std::vector); wxTextCtrl* _name; @@ -53,19 +57,5 @@ private: EditableList* _email_list; std::vector _emails; wxChoice* _utc_offset; - - struct Offset - { - Offset (wxString n, int h, int m) - : name (n) - , hour (h) - , minute (m) - {} - - wxString name; - int hour; - int minute; - }; - std::vector _offsets; };