Hand-apply ec3e6abf817b84d589f0782b01f5059dd3bf0953; only allow even
[dcpomatic.git] / src / wx / dcp_panel.h
index 88a9c4c51a1b1b869320a62e8a68778abc51132d..655472264f25663687f29c9eb87afb08b0f34efe 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include <boost/shared_ptr.hpp>
+#include <boost/noncopyable.hpp>
 
 class wxNotebook;
 class wxPanel;
@@ -32,7 +33,7 @@ class wxSizer;
 
 class Film;
 
-class DCPPanel
+class DCPPanel : public boost::noncopyable
 {
 public:
        DCPPanel (wxNotebook *, boost::shared_ptr<Film>);
@@ -51,6 +52,7 @@ private:
        void name_changed ();
        void use_isdcf_name_toggled ();
        void edit_isdcf_button_clicked ();
+       void copy_isdcf_name_button_clicked ();
        void container_changed ();
        void dcp_content_type_changed ();
        void scaler_changed ();
@@ -86,13 +88,14 @@ private:
        wxCheckBox* _use_isdcf_name;
        wxChoice* _container;
        wxButton* _edit_isdcf_button;
+       wxButton* _copy_isdcf_name_button;
        wxChoice* _scaler;
        wxSpinCtrl* _j2k_bandwidth;
        wxChoice* _dcp_content_type;
        wxChoice* _frame_rate_choice;
        wxSpinCtrl* _frame_rate_spin;
        wxSizer* _frame_rate_sizer;
-       wxSpinCtrl* _audio_channels;
+       wxChoice* _audio_channels;
        wxButton* _best_frame_rate;
        wxCheckBox* _three_d;
        wxChoice* _resolution;