diff options
Diffstat (limited to 'Userland/Applications/CertificateSettings/CertificateStore.h')
-rw-r--r-- | Userland/Applications/CertificateSettings/CertificateStore.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Applications/CertificateSettings/CertificateStore.h b/Userland/Applications/CertificateSettings/CertificateStore.h index ffcc3fd4f1..8369b00cb2 100644 --- a/Userland/Applications/CertificateSettings/CertificateStore.h +++ b/Userland/Applications/CertificateSettings/CertificateStore.h @@ -30,6 +30,7 @@ public: virtual DeprecatedString column_name(int) const override; virtual GUI::Variant data(GUI::ModelIndex const&, GUI::ModelRole) const override; virtual ErrorOr<void> load(); + virtual ErrorOr<size_t> add(Vector<Certificate> const&); private: Vector<Certificate> m_certificates; @@ -45,8 +46,10 @@ public: private: CertificateStoreWidget() = default; ErrorOr<void> initialize(); + ErrorOr<void> import_pem(); RefPtr<CertificateStoreModel> m_root_ca_model; RefPtr<GUI::TableView> m_root_ca_tableview; + RefPtr<GUI::Button> m_import_ca_button; }; } |