Use libdcp's warnings.h
[dcpomatic.git] / src / wx / normal_job_view.cc
index 6c9c08fa720ccb64f21c90c8e25ab1d64fec3d08..016fb225559b3d56175f011995f388252616e600 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
-#include "normal_job_view.h"
+
 #include "dcpomatic_button.h"
+#include "normal_job_view.h"
 #include "lib/job.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
+
 
 using std::shared_ptr;
 
+
 NormalJobView::NormalJobView (shared_ptr<Job> job, wxWindow* parent, wxWindow* container, wxFlexGridSizer* table)
        : JobView (job, parent, container, table)
-       , _pause (0)
 {
 
 }
 
+
 void
 NormalJobView::finish_setup (wxWindow* parent, wxSizer* sizer)
 {
@@ -41,11 +47,13 @@ NormalJobView::finish_setup (wxWindow* parent, wxSizer* sizer)
 }
 
 int
+
 NormalJobView::insert_position () const
 {
        return 0;
 }
 
+
 void
 NormalJobView::pause_clicked ()
 {
@@ -58,6 +66,7 @@ NormalJobView::pause_clicked ()
        }
 }
 
+
 void
 NormalJobView::finished ()
 {