X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fnew_film_dialog.h;h=5ec5863c67340901357e4d7fca2db4dd0451e961;hb=94f27fed01e1f4c9cb876fa5594d11e2bbe3f7bd;hp=220bba732ef1858c499583e944979cac4619f92c;hpb=ff5dcaaeff14f4eb8d7cabe7a7af2cf66fa39512;p=dcpomatic.git diff --git a/src/wx/new_film_dialog.h b/src/wx/new_film_dialog.h index 220bba732..5ec5863c6 100644 --- a/src/wx/new_film_dialog.h +++ b/src/wx/new_film_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 @@ -20,23 +20,24 @@ #include #include #include "wx_util.h" +#include "table_dialog.h" class DirPickerCtrl; -class NewFilmDialog : public wxDialog +class NewFilmDialog : public TableDialog { public: NewFilmDialog (wxWindow *); ~NewFilmDialog (); - std::string get_path () const; + boost::filesystem::path get_path () const; private: wxTextCtrl* _name; -#ifdef DVDOMATIC_USE_OWN_DIR_PICKER +#ifdef DCPOMATIC_USE_OWN_DIR_PICKER DirPickerCtrl* _folder; #else wxDirPickerCtrl* _folder; #endif - static boost::optional _directory; + static boost::optional _directory; };