X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_name_location_dialog.h;h=29fcd338495e3fc832bf845148cd49630e37d73a;hb=01e979c79f7d0aa20fac1bb24c699e0636168294;hp=d50ed3b5204d98d7e53af3e3e47376121e35d671;hpb=50aaa3789864c7330ee92e7e89ad5b6cc2155a82;p=dcpomatic.git diff --git a/src/wx/film_name_location_dialog.h b/src/wx/film_name_location_dialog.h index d50ed3b52..29fcd3384 100644 --- a/src/wx/film_name_location_dialog.h +++ b/src/wx/film_name_location_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2020 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,21 +18,23 @@ */ -#include "wx_util.h" + #include "table_dialog.h" +#include "wx_util.h" #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS #include #include DCPOMATIC_ENABLE_WARNINGS + class DirPickerCtrl; + class FilmNameLocationDialog : public TableDialog { public: FilmNameLocationDialog (wxWindow *, wxString title, bool offer_templates); - ~FilmNameLocationDialog (); boost::filesystem::path path () const; bool check_path (); @@ -41,6 +43,7 @@ public: private: void use_template_clicked (); void setup_sensitivity (); + void folder_changed (); wxTextCtrl* _name; #ifdef DCPOMATIC_USE_OWN_PICKER @@ -52,3 +55,4 @@ private: wxChoice* _template_name; static boost::optional _directory; }; +