C++11 tidying.
[dcpomatic.git] / src / wx / timeline_dialog.h
index 0d91baf22d354ba6662a72bd6f2a925e6e94cfa7..17128e108b1d2640112b06ae26a8f557d49677ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
+
 #include <wx/wx.h>
 #include "timeline.h"
 
+
 class Playlist;
 
+
 class TimelineDialog : public wxDialog
 {
 public:
-       TimelineDialog (ContentPanel *, boost::shared_ptr<Film>);
+       TimelineDialog (ContentPanel *, std::shared_ptr<Film>, std::weak_ptr<FilmViewer> viewer);
 
        void set_selection (ContentList selection);
 
 private:
-       void snap_toggled ();
-       void sequence_toggled ();
-       void film_changed (Film::Property);
+       void film_change (ChangeType type, Film::Property);
        void tool_clicked (wxCommandEvent& id);
 
-       boost::weak_ptr<Film> _film;
+       std::weak_ptr<Film> _film;
        Timeline _timeline;
-       wxCheckBox* _snap;
-       wxCheckBox* _sequence;
+       wxToolBar* _toolbar;
        boost::signals2::scoped_connection _film_changed_connection;
 };