diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-01 22:38:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-01 22:38:03 +0100 |
| commit | 88b1b8b47233d8215bb796d6f8836810ed767836 (patch) | |
| tree | 42f45c7b97a62975c052db86fe03cca6cacc8aaa /src/wx/config_dialog.h | |
| parent | 921b3573e25c42ef3e490c00beee07605c9a0a46 (diff) | |
Move CertificateChainEditor to its own files and format white space.
Diffstat (limited to 'src/wx/config_dialog.h')
| -rw-r--r-- | src/wx/config_dialog.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/wx/config_dialog.h b/src/wx/config_dialog.h index ce2686864..87205a70f 100644 --- a/src/wx/config_dialog.h +++ b/src/wx/config_dialog.h @@ -111,49 +111,6 @@ private: }; -class CertificateChainEditor : public wxDialog -{ -public: - CertificateChainEditor ( - wxWindow* parent, - wxString title, - int border, - std::function<void (std::shared_ptr<dcp::CertificateChain>)> set, - std::function<std::shared_ptr<const dcp::CertificateChain> (void)> get, - std::function<bool (void)> nag_alter - ); - - void add_button (wxWindow* button); - -private: - void add_certificate (); - void remove_certificate (); - void export_certificate (); - void update_certificate_list (); - void remake_certificates (); - void update_sensitivity (); - void update_private_key (); - void import_private_key (); - void export_private_key (); - void export_chain (); - - wxListCtrl* _certificates; - wxButton* _add_certificate; - wxButton* _export_certificate; - wxButton* _remove_certificate; - wxButton* _remake_certificates; - wxStaticText* _private_key; - wxButton* _import_private_key; - wxButton* _export_private_key; - wxButton* _export_chain; - wxStaticText* _private_key_bad; - wxSizer* _sizer; - wxBoxSizer* _button_sizer; - std::function<void (std::shared_ptr<dcp::CertificateChain>)> _set; - std::function<std::shared_ptr<const dcp::CertificateChain> (void)> _get; - std::function<bool (void)> _nag_alter; -}; - class KeysPage : public Page { public: |
