diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/wx/audio_dialog.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/audio_dialog.h')
| -rw-r--r-- | src/wx/audio_dialog.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h index 8f7151b1b..a94e98e32 100644 --- a/src/wx/audio_dialog.h +++ b/src/wx/audio_dialog.h @@ -25,7 +25,6 @@ DCPOMATIC_DISABLE_WARNINGS #include <wx/wx.h> DCPOMATIC_ENABLE_WARNINGS -#include <boost/shared_ptr.hpp> #include <boost/signals2.hpp> class AudioPlot; @@ -35,7 +34,7 @@ class Film; class AudioDialog : public wxDialog { public: - AudioDialog (wxWindow* parent, boost::shared_ptr<Film> film, boost::weak_ptr<FilmViewer> viewer, boost::shared_ptr<Content> content = boost::shared_ptr<Content>()); + AudioDialog (wxWindow* parent, std::shared_ptr<Film> film, std::weak_ptr<FilmViewer> viewer, std::shared_ptr<Content> content = std::shared_ptr<Content>()); bool Show (bool show = true); @@ -52,13 +51,13 @@ private: void setup_statistics (); void show_or_hide_channel_checkboxes (); - boost::shared_ptr<AudioAnalysis> _analysis; - boost::weak_ptr<Film> _film; - boost::weak_ptr<FilmViewer> _viewer; + std::shared_ptr<AudioAnalysis> _analysis; + std::weak_ptr<Film> _film; + std::weak_ptr<FilmViewer> _viewer; /** content to analyse, or 0 to analyse all the film's content */ - boost::weak_ptr<Content> _content; + std::weak_ptr<Content> _content; int _channels; - boost::shared_ptr<const Playlist> _playlist; + std::shared_ptr<const Playlist> _playlist; wxStaticText* _cursor; AudioPlot* _plot; wxStaticText* _sample_peak; |
