aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgBasicOperator.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-24 10:16:45 +0000
committersaturneric <[email protected]>2023-12-24 10:16:45 +0000
commite52215cd31237bcfe343754bdfcfdde65e804432 (patch)
tree91c4bbbe5d86ffaddd6f111bfa6e27aff1b644a0 /src/core/function/gpg/GpgBasicOperator.h
parentfix: test the encrypt async api on gui app (diff)
downloadGpgFrontend-e52215cd31237bcfe343754bdfcfdde65e804432.tar.gz
GpgFrontend-e52215cd31237bcfe343754bdfcfdde65e804432.zip
fix: use the new async encrypt symmetric api at gui app
Diffstat (limited to 'src/core/function/gpg/GpgBasicOperator.h')
-rw-r--r--src/core/function/gpg/GpgBasicOperator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/gpg/GpgBasicOperator.h b/src/core/function/gpg/GpgBasicOperator.h
index 378091b1..6836e390 100644
--- a/src/core/function/gpg/GpgBasicOperator.h
+++ b/src/core/function/gpg/GpgBasicOperator.h
@@ -75,8 +75,8 @@ class GPGFRONTEND_CORE_EXPORT GpgBasicOperator
* @param result Encrypted results
* @return GpgError
*/
- auto EncryptSymmetric(BypeArrayRef in_buffer, ByteArrayPtr& out_buffer,
- GpgEncrResult& result) -> GpgError;
+ void EncryptSymmetric(GFBuffer in_buffer, bool ascii,
+ const GpgOperationCallback& cb);
/**
*