Fix crash reported on OS X, although the actual cause is not entirely clear.
[dcpomatic.git] / src / wx / kdm_dialog.h
index 13e9196ea055180a4ee29e6b664338b2d94b1a33..2621cbbfe70b1ddb4c22d07552c8ed329702851a 100644 (file)
 
 */
 
-#include <map>
-#include <boost/shared_ptr.hpp>
-#include <boost/date_time/posix_time/posix_time.hpp>
+#include "wx_util.h"
+#include <dcp/types.h>
 #include <wx/wx.h>
 #include <wx/treectrl.h>
-#include "wx_util.h"
+#include <boost/shared_ptr.hpp>
+#include <boost/date_time/posix_time/posix_time.hpp>
+#include <map>
 
 class wxTreeCtrl;
 class wxDatePickerCtrl;
@@ -32,6 +33,8 @@ class DirPickerCtrl;
 
 class Cinema;
 class Screen;
+class Film;
+struct CPLSummary;
 
 class KDMDialog : public wxDialog
 {
@@ -44,11 +47,11 @@ public:
        boost::posix_time::ptime from () const;
        /** @return KDM until time in local time */
        boost::posix_time::ptime until () const;
-       
+
        boost::filesystem::path cpl () const;
        boost::filesystem::path directory () const;
        bool write_to () const;
-       libdcp::KDM::Formulation formulation () const;
+       dcp::Formulation formulation () const;
 
 private:
        void add_cinema (boost::shared_ptr<Cinema>);
@@ -67,7 +70,7 @@ private:
        void cpl_browse_clicked ();
 
        static boost::posix_time::ptime posix_time (wxDatePickerCtrl *, wxTimePickerCtrl *);
-       
+
        wxTreeCtrl* _targets;
        wxButton* _add_cinema;
        wxButton* _edit_cinema;