Small fixes and tidy-ups spotted by cppcheck.
[dcpomatic.git] / src / wx / content_panel.h
index 5701696e5257163de997e22c6b6c0245312750de..6b94e7d5b0d5997d14b9aa2a243363c844d10e25 100644 (file)
@@ -33,7 +33,7 @@ class FilmEditor;
 class ContentSubPanel;
 class Film;
 
-class ContentPanel
+class ContentPanel : public boost::noncopyable
 {
 public:
        ContentPanel (wxNotebook *, boost::shared_ptr<Film>);
@@ -63,15 +63,16 @@ public:
        SubtitleContentList selected_subtitle ();
        FFmpegContentList selected_ffmpeg ();
 
+       void add_file_clicked ();
+       
 private:       
-       void sequence_video_changed ();
        void selection_changed ();
-       void add_file_clicked ();
        void add_folder_clicked ();
        void remove_clicked ();
        void earlier_clicked ();
        void later_clicked ();
        void right_click (wxListEvent &);
+       void files_dropped (wxDropFilesEvent &);
        void timeline_clicked ();
 
        void setup ();
@@ -87,7 +88,6 @@ private:
        wxButton* _earlier;
        wxButton* _later;
        wxButton* _timeline;
-       wxCheckBox* _sequence_video;
        ContentSubPanel* _video_panel;
        ContentSubPanel* _audio_panel;
        ContentSubPanel* _subtitle_panel;