Fill test disk partitions with random noise to expose more bugs.
[dcpomatic.git] / src / wx / timeline_dialog.h
index 77dfede50c452d69107daf080918cc95b514f0b8..8796f2bbfc41add263dfb0ca328d960e95527053 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2019 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"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
+#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
+
 
 class Playlist;
 
+
 class TimelineDialog : public wxDialog
 {
 public:
-       TimelineDialog (ContentPanel *, boost::shared_ptr<Film>, boost::weak_ptr<FilmViewer> viewer);
+       TimelineDialog (ContentPanel *, std::shared_ptr<Film>, std::weak_ptr<FilmViewer> viewer);
 
        void set_selection (ContentList selection);
 
@@ -36,7 +40,7 @@ private:
        void film_change (ChangeType type, Film::Property);
        void tool_clicked (wxCommandEvent& id);
 
-       boost::weak_ptr<Film> _film;
+       std::weak_ptr<Film> _film;
        Timeline _timeline;
        wxToolBar* _toolbar;
        boost::signals2::scoped_connection _film_changed_connection;