Fix lots of macOS warnings by using a different boost/bind include.
[dcpomatic.git] / src / wx / hints_dialog.h
index 83510643a3be2264a54766efafbe7549a098aad2..87dcf19535d977e7d8e8c89e824ccdb2f037707c 100644 (file)
 */
 
 #include "lib/types.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/weak_ptr.hpp>
 #include <boost/signals2.hpp>
 
@@ -33,7 +36,7 @@ public:
        HintsDialog (wxWindow* parent, boost::weak_ptr<Film>, bool ok);
 
 private:
-       void film_changed ();
+       void film_change (ChangeType);
        void film_content_change (ChangeType type);
        void shut_up (wxCommandEvent& ev);
        void update ();
@@ -46,9 +49,10 @@ private:
        wxGauge* _gauge;
        wxStaticText* _gauge_message;
        wxRichTextCtrl* _text;
-       boost::shared_ptr<Hints> _hints;
+       boost::scoped_ptr<Hints> _hints;
        std::list<std::string> _current;
+       bool _finished;
 
-       boost::signals2::scoped_connection _film_changed_connection;
-       boost::signals2::scoped_connection _film_content_changed_connection;
+       boost::signals2::scoped_connection _film_change_connection;
+       boost::signals2::scoped_connection _film_content_change_connection;
 };