diff options
author | saturneric <[email protected]> | 2024-01-11 03:05:45 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-11 03:05:45 +0000 |
commit | 0266ff1bbce2feccec34ab789f9e378948d1b24d (patch) | |
tree | 49dcdd97ea5fccb47ac5bdb7f2a7e1e51dfb8c05 /src/core/function/KeyPackageOperator.h | |
parent | feat: update core apis, functions and models (diff) | |
download | GpgFrontend-0266ff1bbce2feccec34ab789f9e378948d1b24d.tar.gz GpgFrontend-0266ff1bbce2feccec34ab789f9e378948d1b24d.zip |
feat: improve api and ui of keys import and export
Diffstat (limited to 'src/core/function/KeyPackageOperator.h')
-rw-r--r-- | src/core/function/KeyPackageOperator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/KeyPackageOperator.h b/src/core/function/KeyPackageOperator.h index 84b30adc..0bc51eff 100644 --- a/src/core/function/KeyPackageOperator.h +++ b/src/core/function/KeyPackageOperator.h @@ -82,8 +82,8 @@ class GPGFRONTEND_CORE_EXPORT KeyPackageOperator { * @return false if key package was not imported */ static auto ImportKeyPackage(const std::filesystem::path &key_package_path, - const std::filesystem::path &phrase_path, - GpgImportInformation &import_info) -> bool; + const std::filesystem::path &phrase_path) + -> std::tuple<bool, std::shared_ptr<GpgImportInformation>>; private: /** |