X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_editor.h;h=6aff127d8a6cfe4156a478e8a971220aad133fae;hb=ea554f39cec595666a3d4552235ccca4e60305a5;hp=0382ef9d448463eeccde68ea3e7802d910ac95a9;hpb=ddce45d6ef1ebc2036b305c68402e38c84aa7599;p=dcpomatic.git diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h index 0382ef9d4..6aff127d8 100644 --- a/src/wx/film_editor.h +++ b/src/wx/film_editor.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,10 +18,12 @@ */ + /** @file src/wx/film_editor.h * @brief FilmEditor class. */ + #include "lib/film.h" #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS @@ -29,21 +31,23 @@ DCPOMATIC_DISABLE_WARNINGS DCPOMATIC_ENABLE_WARNINGS #include + class wxNotebook; class Film; class ContentPanel; class DCPPanel; class FilmViewer; + /** @class FilmEditor * @brief A wx widget to edit a film's metadata, and perform various functions. */ class FilmEditor : public wxPanel { public: - FilmEditor (wxWindow *, boost::weak_ptr viewer); + FilmEditor (wxWindow *, std::weak_ptr viewer); - void set_film (boost::shared_ptr); + void set_film (std::shared_ptr); void first_shown (); boost::signals2::signal FileChanged; @@ -55,7 +59,7 @@ public: return _content_panel; } - boost::shared_ptr film () const { + std::shared_ptr film () const { return _film; } @@ -73,5 +77,5 @@ private: DCPPanel* _dcp_panel; /** The film we are editing */ - boost::shared_ptr _film; + std::shared_ptr _film; };