Restore time zone to Cinema and improve UI to use it (#2473).
[dcpomatic.git] / src / wx / cinema_dialog.h
index cd90f6dea9ee1e9bf2569f89af8e8b4eeadc557a..8736577722b1ca826cff41c53cdb0193ae41c81e 100644 (file)
@@ -30,6 +30,9 @@ LIBDCP_ENABLE_WARNINGS
 #include <vector>
 
 
+class Choice;
+
+
 class CinemaDialog : public wxDialog
 {
 public:
@@ -38,12 +41,14 @@ public:
                wxString,
                std::string name = "",
                std::vector<std::string> emails = std::vector<std::string>(),
-               std::string notes = ""
+               std::string notes = "",
+               dcp::UTCOffset = {}
                );
 
        std::string name () const;
        std::string notes () const;
        std::vector<std::string> emails () const;
+       dcp::UTCOffset utc_offset() const;
 
 private:
        void set_emails (std::vector<std::string>);
@@ -52,4 +57,6 @@ private:
        wxTextCtrl* _notes;
        EditableList<std::string, EmailDialog>* _email_list;
        std::vector<std::string> _emails;
+       Choice* _utc_offset;
+       std::vector<Offset> _offsets;
 };