diff options
author | saturneric <[email protected]> | 2023-12-06 13:10:48 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-06 13:18:07 +0000 |
commit | a0f0fd98efa12ef33959badcc25ff568e8b242b4 (patch) | |
tree | 860563fdbfe353e57724b08c4eb30dc03d5f8a7d /src/core/function/gpg/GpgFileOpera.h | |
parent | feat: convert basic opera to async style (diff) | |
download | GpgFrontend-a0f0fd98efa12ef33959badcc25ff568e8b242b4.tar.gz GpgFrontend-a0f0fd98efa12ef33959badcc25ff568e8b242b4.zip |
feat: move test to src and add submodule googletest
Diffstat (limited to 'src/core/function/gpg/GpgFileOpera.h')
-rw-r--r-- | src/core/function/gpg/GpgFileOpera.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/function/gpg/GpgFileOpera.h b/src/core/function/gpg/GpgFileOpera.h index b20fa7db..569ea51a 100644 --- a/src/core/function/gpg/GpgFileOpera.h +++ b/src/core/function/gpg/GpgFileOpera.h @@ -52,7 +52,7 @@ class GPGFRONTEND_CORE_EXPORT GpgFileOpera { */ static auto EncryptFile(KeyListPtr keys, const std::string& in_path, const std::string& out_path, GpgEncrResult& result, - int channel = kGpgfrontendDefaultChannel) + int channel = kGpgFrontendDefaultChannel) -> unsigned int; /** @@ -67,7 +67,7 @@ class GPGFRONTEND_CORE_EXPORT GpgFileOpera { static auto EncryptFileSymmetric(const std::string& in_path, const std::string& out_path, GpgEncrResult& result, - int channel = kGpgfrontendDefaultChannel) + int channel = kGpgFrontendDefaultChannel) -> unsigned int; /** @@ -94,7 +94,7 @@ class GPGFRONTEND_CORE_EXPORT GpgFileOpera { */ static auto SignFile(KeyListPtr keys, const std::string& in_path, const std::string& out_path, GpgSignResult& result, - int channel = kGpgfrontendDefaultChannel) -> GpgError; + int channel = kGpgFrontendDefaultChannel) -> GpgError; /** * @brief Verify file with public key @@ -107,7 +107,7 @@ class GPGFRONTEND_CORE_EXPORT GpgFileOpera { */ static auto VerifyFile(const std::string& data_path, const std::string& sign_path, GpgVerifyResult& result, - int channel = kGpgfrontendDefaultChannel) -> GpgError; + int channel = kGpgFrontendDefaultChannel) -> GpgError; /** * @brief Encrypt and sign file with public key and private key @@ -125,7 +125,7 @@ class GPGFRONTEND_CORE_EXPORT GpgFileOpera { const std::string& in_path, const std::string& out_path, GpgEncrResult& encr_res, GpgSignResult& sign_res, - int channel = kGpgfrontendDefaultChannel) + int channel = kGpgFrontendDefaultChannel) -> GpgError; /** |