diff options
author | saturneric <[email protected]> | 2023-12-24 10:16:45 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-24 10:16:45 +0000 |
commit | e52215cd31237bcfe343754bdfcfdde65e804432 (patch) | |
tree | 91c4bbbe5d86ffaddd6f111bfa6e27aff1b644a0 /src/core/function/gpg/GpgFileOpera.h | |
parent | fix: test the encrypt async api on gui app (diff) | |
download | GpgFrontend-e52215cd31237bcfe343754bdfcfdde65e804432.tar.gz GpgFrontend-e52215cd31237bcfe343754bdfcfdde65e804432.zip |
fix: use the new async encrypt symmetric api at gui app
Diffstat (limited to 'src/core/function/gpg/GpgFileOpera.h')
-rw-r--r-- | src/core/function/gpg/GpgFileOpera.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/function/gpg/GpgFileOpera.h b/src/core/function/gpg/GpgFileOpera.h index 0f278b1f..ec34487c 100644 --- a/src/core/function/gpg/GpgFileOpera.h +++ b/src/core/function/gpg/GpgFileOpera.h @@ -63,11 +63,9 @@ class GPGFRONTEND_CORE_EXPORT GpgFileOpera { * @param channel * @return unsigned int */ - static auto EncryptFileSymmetric(const std::string& in_path, - const std::string& out_path, - GpgEncrResult& result, - int channel = kGpgFrontendDefaultChannel) - -> unsigned int; + static void EncryptFileSymmetric(const std::string& in_path, + const std::string& out_path, bool ascii, + const GpgOperationCallback& cb); /** * @brief |