From e8ce097ce705446c27b51199a321a9918deaa0db Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 31 Oct 2025 00:03:49 +0100 Subject: Allow specification of which parts of the DCP to encrypt (#3099). --- src/wx/encryption_settings_dialog.h | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/wx/encryption_settings_dialog.h (limited to 'src/wx/encryption_settings_dialog.h') diff --git a/src/wx/encryption_settings_dialog.h b/src/wx/encryption_settings_dialog.h new file mode 100644 index 000000000..4ea3151c9 --- /dev/null +++ b/src/wx/encryption_settings_dialog.h @@ -0,0 +1,43 @@ +/* + Copyright (C) 2025 Carl Hetherington + + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DCP-o-matic is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DCP-o-matic. If not, see . + +*/ + + +#include "table_dialog.h" + + +class CheckBox; +class Film; + + +class EncryptionSettingsDialog : public TableDialog +{ +public: + EncryptionSettingsDialog(wxWindow* parent, std::shared_ptr film); + + bool picture() const; + bool sound() const; + bool text() const; + +private: + CheckBox* _picture; + CheckBox* _sound; + CheckBox* _text; +}; + -- cgit v1.2.3