Change glLineWidth from 2.0 -> 1.0.
[dcpomatic.git] / src / wx / content_view.h
index d27638c05099f89bc3ebe0555e46177676796663..1ad7c541ae9645ae8b9109e586be401437967631 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "lib/content_store.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/listctrl.h>
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
+DCPOMATIC_ENABLE_WARNINGS
 #include <vector>
 
+
 class Content;
 class Film;
 
+
 class ContentView : public wxListCtrl, public ContentStore
 {
 public:
-       ContentView (wxWindow* parent, boost::weak_ptr<Film> film);
+       ContentView (wxWindow* parent);
 
-       boost::shared_ptr<Content> selected () const;
+       std::shared_ptr<Content> selected () const;
        void update ();
 
-       boost::shared_ptr<Content> get (std::string digest) const;
-       void set_film (boost::weak_ptr<Film> film);
+       std::shared_ptr<Content> get (std::string digest) const;
 
 private:
-       void add (boost::shared_ptr<Content> content);
+       void add (std::shared_ptr<Content> content);
 
-       boost::weak_ptr<Film> _film;
-       std::vector<boost::shared_ptr<Content> > _content;
+       std::weak_ptr<Film> _film;
+       std::vector<std::shared_ptr<Content>> _content;
 };