Disable warnings around all wx includes.
[dcpomatic.git] / src / wx / gain_calculator_dialog.h
index c68e9426fd4ef43197327cc838a7e127aaacc3b5..41312cdca1519b4f814e99033fc6b90ae28ede60 100644 (file)
 
 */
 
-#include <wx/wx.h>
+
 #include "table_dialog.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
+#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+#include <boost/optional.hpp>
+
 
 class GainCalculatorDialog : public TableDialog
 {
 public:
-       GainCalculatorDialog (wxWindow* parent);
+       explicit GainCalculatorDialog (wxWindow* parent);
 
-       float actual_fader () const;
-       float wanted_fader () const;
+       boost::optional<float> db_change () const;
 
 private:
+       wxChoice* _processor;
        wxTextCtrl* _wanted;
        wxTextCtrl* _actual;
 };