diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-31 00:03:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-11-05 00:43:19 +0100 |
| commit | e8ce097ce705446c27b51199a321a9918deaa0db (patch) | |
| tree | 0a52cbc9c52791d453fa4bd478609aedde98c831 /src/wx/encryption_settings_dialog.h | |
| parent | ef65a179e8c907029d0d9254863d4884581f3d60 (diff) | |
Allow specification of which parts of the DCP to encrypt (#3099).
Diffstat (limited to 'src/wx/encryption_settings_dialog.h')
| -rw-r--r-- | src/wx/encryption_settings_dialog.h | 43 |
1 files changed, 43 insertions, 0 deletions
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 <cth@carlh.net> + + 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 <http://www.gnu.org/licenses/>. + +*/ + + +#include "table_dialog.h" + + +class CheckBox; +class Film; + + +class EncryptionSettingsDialog : public TableDialog +{ +public: + EncryptionSettingsDialog(wxWindow* parent, std::shared_ptr<const Film> film); + + bool picture() const; + bool sound() const; + bool text() const; + +private: + CheckBox* _picture; + CheckBox* _sound; + CheckBox* _text; +}; + |
