X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcinema_dialog.h;h=7d27bd94b473492cfc8dd90fc605bf20f19a3977;hb=df89a39cfd34d0d70609daa214d3b618bb6223bd;hp=02520eea985fd473df543c53aeaf9e7656793f83;hpb=373f010a7f04add1f49169cbaa60cb7ae5f508d4;p=dcpomatic.git diff --git a/src/wx/cinema_dialog.h b/src/wx/cinema_dialog.h index 02520eea9..7d27bd94b 100644 --- a/src/wx/cinema_dialog.h +++ b/src/wx/cinema_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2014 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,17 +17,26 @@ */ +#include "table_dialog.h" +#include "editable_list.h" +#include "email_dialog.h" #include +#include +#include class CinemaDialog : public wxDialog { public: - CinemaDialog (wxWindow *, std::string, std::string name = "", std::string email = ""); + CinemaDialog (wxWindow *, std::string, std::string name = "", std::list emails = std::list ()); std::string name () const; - std::string email () const; - + std::list emails () const; + private: + std::vector get_emails () const; + void set_emails (std::vector); + wxTextCtrl* _name; - wxTextCtrl* _email; + EditableList* _email_list; + std::vector _emails; };