summaryrefslogtreecommitdiff
path: root/src/wx/export_subtitles_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-01 00:42:05 +0100
committerCarl Hetherington <cth@carlh.net>2026-01-01 00:42:05 +0100
commitcf2b75373d6908f97bd9c25ce24ffdd9685545f5 (patch)
treeec9015e18ab461ee2ab694c090d3ecbd0b61ac7e /src/wx/export_subtitles_dialog.h
parent2567be677682e96d5cb7de31dbdcea80111ac8f4 (diff)
Allow export of Interop/SMPTE format subtitles (#3025).
Diffstat (limited to 'src/wx/export_subtitles_dialog.h')
-rw-r--r--src/wx/export_subtitles_dialog.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wx/export_subtitles_dialog.h b/src/wx/export_subtitles_dialog.h
index 282c8884e..6c18555c0 100644
--- a/src/wx/export_subtitles_dialog.h
+++ b/src/wx/export_subtitles_dialog.h
@@ -20,6 +20,7 @@
#include "dir_picker_ctrl.h"
+#include <dcp/types.h>
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
@@ -28,22 +29,27 @@ LIBDCP_ENABLE_WARNINGS
class CheckBox;
+class Choice;
class FilePickerCtrl;
class ExportSubtitlesDialog : public wxDialog
{
public:
+ /** @param interop true to default to XML export, otherwise MXF */
ExportSubtitlesDialog(wxWindow* parent, int reels, bool interop);
boost::filesystem::path path() const;
bool split_reels() const;
bool include_font() const;
+ dcp::Standard standard() const;
private:
+ void format_changed();
void setup_sensitivity();
+ void setup_wildcard();
- bool _interop;
+ Choice* _format;
CheckBox* _split_reels;
CheckBox* _include_font = nullptr;
wxStaticText* _file_label;