Move y_pos to TimelineView.
[dcpomatic.git] / src / wx / dkdm_output_panel.h
index 57a9418188dc65939532549975dfdb9ea10925a4..9bdbd5672153e6a7a854ac248f2cb72cd9b4552b 100644 (file)
 
 */
 
-#include "lib/kdm_with_metadata.h"
-#include "wx_util.h"
+
 #include "name_format_editor.h"
+#include "wx_util.h"
+#include "lib/kdm_with_metadata.h"
 #include <dcp/types.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 #include <boost/filesystem.hpp>
 
-class wxRadioButton;
-class wxDirPickerCtrl;
+
+class CheckBox;
 class DirPickerCtrl;
-class KDMTimingPanel;
 class Job;
+class KDMTimingPanel;
 class Log;
+class wxDirPickerCtrl;
+class wxRadioButton;
+
 
 class DKDMOutputPanel : public wxPanel
 {
@@ -44,16 +51,16 @@ public:
        std::pair<std::shared_ptr<Job>, int> make (
                std::list<KDMWithMetadataPtr > kdms,
                std::string name,
-               boost::function<bool (boost::filesystem::path)> confirm_overwrite
+               std::function<bool (boost::filesystem::path)> confirm_overwrite
                );
 
 private:
        NameFormatEditor* _filename_format;
-       wxCheckBox* _write_to;
+       CheckBox* _write_to;
 #ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _folder;
 #else
        wxDirPickerCtrl* _folder;
 #endif
-       wxCheckBox* _email;
+       CheckBox* _email;
 };