Use libdcp's warnings.h
[dcpomatic.git] / src / wx / recreate_chain_dialog.h
index 287e657670408a14fbc52540218ceb320652a046..2e19ad96b520cf03281552994120dd06c11554de 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "question_dialog.h"
+#include "lib/config.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 #include <list>
 
+
 class RecreateChainDialog : public QuestionDialog
 {
 public:
-       RecreateChainDialog (wxWindow* parent);
+       RecreateChainDialog (wxWindow* parent, wxString title, wxString message, wxString cancel, boost::optional<Config::Nag> nag = boost::optional<Config::Nag>());
 
 private:
        void shut_up (wxCommandEvent& ev);
+       boost::optional<Config::Nag> _nag;
 };