diff options
author | saturneric <[email protected]> | 2023-12-28 06:32:49 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2023-12-28 06:32:49 +0000 |
commit | 300e55bf5bddc393de050c2ca9a0356fce9a8a9d (patch) | |
tree | 8332e6b50158718ad98c954302951668a57712a8 /src/core/utils/AsyncUtils.h | |
parent | feat: avoid reading entire file to memory (diff) | |
download | GpgFrontend-300e55bf5bddc393de050c2ca9a0356fce9a8a9d.tar.gz GpgFrontend-300e55bf5bddc393de050c2ca9a0356fce9a8a9d.zip |
feat: add simple archiving functions for encrypt and decrypt
Diffstat (limited to 'src/core/utils/AsyncUtils.h')
-rw-r--r-- | src/core/utils/AsyncUtils.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/utils/AsyncUtils.h b/src/core/utils/AsyncUtils.h index bda15328..6d79d9c1 100644 --- a/src/core/utils/AsyncUtils.h +++ b/src/core/utils/AsyncUtils.h @@ -29,11 +29,31 @@ #pragma once #include "core/GpgFrontendCore.h" +#include "core/typedef/CoreTypedef.h" #include "core/typedef/GpgTypedef.h" namespace GpgFrontend { +/** + * @brief + * + * @param runnable + * @param callback + * @param operation + * @param minial_version + */ void GPGFRONTEND_CORE_EXPORT RunGpgOperaAsync( GpgOperaRunnable runnable, GpgOperationCallback callback, const std::string& operation, const std::string& minial_version); + +/** + * @brief + * + * @param runnable + * @param callback + * @param operation + */ +void GPGFRONTEND_CORE_EXPORT RunIOOperaAsync(OperaRunnable runnable, + OperationCallback callback, + const std::string& operation); } // namespace GpgFrontend
\ No newline at end of file |