X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_view.h;h=334e9bb68202449a8053324cf5d6b854239a9085;hb=f10e025eba54b0ab4dbe1b3611071b160ca89208;hp=0da53f636f139ff0d1838ec1793ad011bc1c821a;hpb=a3f6e20d055cdf1697eab011622dc569010ad617;p=dcpomatic.git diff --git a/src/wx/content_view.h b/src/wx/content_view.h index 0da53f636..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,14 +27,16 @@ 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; + private: void add (boost::shared_ptr content);