Move UTC offset for KDMs from the cinema to the point of KDM creation (#2300).
[dcpomatic.git] / src / wx / cinema_dialog.h
index 32dd77264e07e9c5b56b64ec009bfa168db93f7d..cd90f6dea9ee1e9bf2569f89af8e8b4eeadc557a 100644 (file)
 #include "editable_list.h"
 #include "email_dialog.h"
 #include "table_dialog.h"
-#include "lib/warnings.h"
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 #include <list>
 #include <vector>
 
@@ -37,26 +37,19 @@ public:
                wxWindow *,
                wxString,
                std::string name = "",
-               std::list<std::string> emails = std::list<std::string> (),
-               std::string notes = "",
-               int utc_offset_hour = 0,
-               int utc_offset_minute = 0
+               std::vector<std::string> emails = std::vector<std::string>(),
+               std::string notes = ""
                );
 
        std::string name () const;
        std::string notes () const;
-       std::list<std::string> emails () const;
-       int utc_offset_hour () const;
-       int utc_offset_minute () const;
+       std::vector<std::string> emails () const;
 
 private:
-       std::vector<std::string> get_emails () const;
        void set_emails (std::vector<std::string>);
 
        wxTextCtrl* _name;
        wxTextCtrl* _notes;
        EditableList<std::string, EmailDialog>* _email_list;
        std::vector<std::string> _emails;
-       wxChoice* _utc_offset;
-       std::vector<Offset> _offsets;
 };