Use a LanguageTag for closed caption tracks.
[dcpomatic.git] / src / wx / content_view.h
index ac64600e10a95feba9dc4cfd647e855b95eb4c78..3f4a65ab1bc1e58f1258ea6a6de219ee2e7c17a4 100644 (file)
 
 */
 
+#include "lib/content_store.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/listctrl.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/shared_ptr.hpp>
 #include <boost/weak_ptr.hpp>
 #include <vector>
 class Content;
 class Film;
 
-class ContentView : public wxListCtrl
+class ContentView : public wxListCtrl, public ContentStore
 {
 public:
-       ContentView (wxWindow* parent, boost::weak_ptr<Film> film);
+       ContentView (wxWindow* parent);
 
        boost::shared_ptr<Content> selected () const;
        void update ();