diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-19 15:57:42 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-19 16:00:07 +0000 |
| commit | 9394ce6d3b840ec0af141d6435f394a5ad85c2ed (patch) | |
| tree | 18a43033eb9be373f159dfa9509b6940bfde08c8 /src/wx/self_dkdm_dialog.h | |
| parent | b6a6cda147625ccd09738cd338136ea5911a95e8 (diff) | |
Merge.
Diffstat (limited to 'src/wx/self_dkdm_dialog.h')
| -rw-r--r-- | src/wx/self_dkdm_dialog.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/wx/self_dkdm_dialog.h b/src/wx/self_dkdm_dialog.h new file mode 100644 index 000000000..edf64132d --- /dev/null +++ b/src/wx/self_dkdm_dialog.h @@ -0,0 +1,49 @@ +/* + Copyright (C) 2012 Carl Hetherington <cth@carlh.net> + + 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 + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "wx_util.h" +#include <dcp/types.h> +#include <wx/wx.h> +#include <boost/shared_ptr.hpp> +#include <boost/date_time/posix_time/posix_time.hpp> +#include <map> + +class Film; +class KDMCPLPanel; +class DirPickerCtrl; +class wxDirPickerCtrl; + +class SelfDKDMDialog : public wxDialog +{ +public: + SelfDKDMDialog (wxWindow *, boost::shared_ptr<const Film>); + + boost::filesystem::path cpl () const; + boost::filesystem::path directory () const; + +private: + void setup_sensitivity (); + + KDMCPLPanel* _cpl; +#ifdef DCPOMATIC_USE_OWN_PICKER + DirPickerCtrl* _folder; +#else + wxDirPickerCtrl* _folder; +#endif +}; |
