aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/KeyPackageOperator.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-10 03:41:34 +0000
committersaturneric <[email protected]>2024-01-10 03:41:34 +0000
commit802d7ed9907a08941af353fd65c6d528a8d5ba2c (patch)
tree4362de48824e960053fbb57fc29f078797af68e3 /src/core/function/KeyPackageOperator.h
parentfix: slove some of the app building issues (diff)
downloadGpgFrontend-802d7ed9907a08941af353fd65c6d528a8d5ba2c.tar.gz
GpgFrontend-802d7ed9907a08941af353fd65c6d528a8d5ba2c.zip
feat: update core apis, functions and models
Diffstat (limited to 'src/core/function/KeyPackageOperator.h')
-rw-r--r--src/core/function/KeyPackageOperator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/function/KeyPackageOperator.h b/src/core/function/KeyPackageOperator.h
index e2fcc3e4..84b30adc 100644
--- a/src/core/function/KeyPackageOperator.h
+++ b/src/core/function/KeyPackageOperator.h
@@ -67,10 +67,10 @@ class GPGFRONTEND_CORE_EXPORT KeyPackageOperator {
* @return true if key package was generated
* @return false if key package was not generated
*/
- static auto GenerateKeyPackage(const std::filesystem::path &key_package_path,
+ static void GenerateKeyPackage(const std::filesystem::path &key_package_path,
const std::string &key_package_name,
- KeyIdArgsListPtr &key_ids, std::string &phrase,
- bool secret) -> bool;
+ const KeyArgsList &keys, std::string &phrase,
+ bool secret, const OperationCallback &cb);
/**
* @brief import key package