X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fcontent_view.h;h=334e9bb68202449a8053324cf5d6b854239a9085;hp=471dd054bd95f81ab3ec29644a64c6a53ce465d4;hb=8f12e84009d7c2685bb2eeb32665876463d4e6e5;hpb=620b7761a33d2e3641cd911bfe58e0fbb928c888 diff --git a/src/wx/content_view.h b/src/wx/content_view.h index 471dd054b..334e9bb68 100644 --- a/src/wx/content_view.h +++ b/src/wx/content_view.h @@ -18,6 +18,7 @@ */ +#include "lib/content_store.h" #include #include #include @@ -26,16 +27,15 @@ class Content; class Film; -class ContentView : public wxListCtrl +class ContentView : public wxListCtrl, public ContentStore { public: - ContentView (wxWindow* parent, boost::weak_ptr film); + ContentView (wxWindow* parent); boost::shared_ptr selected () const; void update (); boost::shared_ptr get (std::string digest) const; - void set_film (boost::weak_ptr film); private: void add (boost::shared_ptr content);