diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-29 09:57:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-29 09:57:58 +0100 |
| commit | 736b3a068ba5a402b541d32f270669e6e1a4e5c4 (patch) | |
| tree | 2185f71bde7283683161bd3a557f13b7a610e967 /src/wx/kdm_output_panel.h | |
| parent | 71be005818ddaa59cdcca2fa5fb3210d8ea7ae4f (diff) | |
Allow configuration of KDM filename format.
Diffstat (limited to 'src/wx/kdm_output_panel.h')
| -rw-r--r-- | src/wx/kdm_output_panel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/kdm_output_panel.h b/src/wx/kdm_output_panel.h index 0ca55e325..002b189f5 100644 --- a/src/wx/kdm_output_panel.h +++ b/src/wx/kdm_output_panel.h @@ -19,6 +19,8 @@ */ #include "wx_util.h" +#include "name_format_editor.h" +#include "lib/kdm_name_format.h" #include <dcp/types.h> #include <wx/wx.h> #include <boost/filesystem.hpp> @@ -34,11 +36,14 @@ public: boost::filesystem::path directory () const; bool write_to () const; dcp::Formulation formulation () const; + KDMNameFormat name_format () const; void setup_sensitivity (); + void save_kdm_name_format () const; private: wxChoice* _type; + NameFormatEditor<KDMNameFormat>* _filename_format; wxRadioButton* _write_to; #ifdef DCPOMATIC_USE_OWN_PICKER DirPickerCtrl* _folder; |
