X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_view.h;h=1ad7c541ae9645ae8b9109e586be401437967631;hb=c73a5213590cb50a0df8d19a1030d6625a954112;hp=3f4a65ab1bc1e58f1258ea6a6de219ee2e7c17a4;hpb=c622a06189181a3a6ad356094c9a3cf4e1f5a722;p=dcpomatic.git diff --git a/src/wx/content_view.h b/src/wx/content_view.h index 3f4a65ab1..1ad7c541a 100644 --- a/src/wx/content_view.h +++ b/src/wx/content_view.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington + Copyright (C) 2018-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,31 +18,32 @@ */ + #include "lib/content_store.h" #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS #include DCPOMATIC_ENABLE_WARNINGS -#include -#include #include + class Content; class Film; + class ContentView : public wxListCtrl, public ContentStore { public: ContentView (wxWindow* parent); - boost::shared_ptr selected () const; + std::shared_ptr selected () const; void update (); - boost::shared_ptr get (std::string digest) const; + std::shared_ptr get (std::string digest) const; private: - void add (boost::shared_ptr content); + void add (std::shared_ptr content); - boost::weak_ptr _film; - std::vector > _content; + std::weak_ptr _film; + std::vector> _content; };