Basic template support (#485).
[dcpomatic.git] / src / wx / new_film_dialog.h
index 6dc83d815b546528ee54c7ae2706a32024fc036a..81dd29feab59747dd18fbb090a728620a3e25782 100644 (file)
@@ -31,14 +31,19 @@ public:
        NewFilmDialog (wxWindow *);
        ~NewFilmDialog ();
 
-       boost::filesystem::path get_path () const;
+       boost::filesystem::path path () const;
+       boost::optional<std::string> template_name () const;
 
 private:
+       void use_template_clicked ();
+
        wxTextCtrl* _name;
 #ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _folder;
 #else
        wxDirPickerCtrl* _folder;
 #endif
+       wxCheckBox* _use_template;
+       wxChoice* _template_name;
        static boost::optional<boost::filesystem::path> _directory;
 };