diff options
author | saturneric <[email protected]> | 2024-01-16 17:41:52 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-16 17:41:52 +0000 |
commit | 5bcf07c5f6a3429bc787c31d26edd796c8cad9c6 (patch) | |
tree | f473d3c278b64396852403e5e334f87f02f5505a /src/core/function/gpg/GpgAdvancedOperator.h | |
parent | fix: slove some issues and update translations (diff) | |
download | GpgFrontend-5bcf07c5f6a3429bc787c31d26edd796c8cad9c6.tar.gz GpgFrontend-5bcf07c5f6a3429bc787c31d26edd796c8cad9c6.zip |
fix: solve discovered issues
Diffstat (limited to 'src/core/function/gpg/GpgAdvancedOperator.h')
-rw-r--r-- | src/core/function/gpg/GpgAdvancedOperator.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/core/function/gpg/GpgAdvancedOperator.h b/src/core/function/gpg/GpgAdvancedOperator.h index fbd6f6ef..4f6ba8bb 100644 --- a/src/core/function/gpg/GpgAdvancedOperator.h +++ b/src/core/function/gpg/GpgAdvancedOperator.h @@ -32,6 +32,8 @@ #pragma once +#include "core/typedef/CoreTypedef.h" + namespace GpgFrontend { class GPGFRONTEND_CORE_EXPORT GpgAdvancedOperator { @@ -42,7 +44,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAdvancedOperator { * @return true * @return false */ - static auto ClearGpgPasswordCache() -> bool; + static void ClearGpgPasswordCache(OperationCallback); /** * @brief @@ -50,7 +52,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAdvancedOperator { * @return true * @return false */ - static auto ReloadGpgComponents() -> bool; + static void ReloadGpgComponents(OperationCallback cb); /** * @brief @@ -66,7 +68,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAdvancedOperator { * @return true * @return false */ - static auto ResetConfigures() -> bool; + static void ResetConfigures(OperationCallback cb); /** * @brief @@ -74,7 +76,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAdvancedOperator { * @return true * @return false */ - static auto StartGpgAgent() -> bool; + static void StartGpgAgent(OperationCallback cb); /** * @brief @@ -82,7 +84,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAdvancedOperator { * @return true * @return false */ - static auto StartDirmngr() -> bool; + static void StartDirmngr(OperationCallback cb); /** * @brief @@ -90,7 +92,7 @@ class GPGFRONTEND_CORE_EXPORT GpgAdvancedOperator { * @return true * @return false */ - static auto StartKeyBoxd() -> bool; + static void StartKeyBoxd(OperationCallback cb); }; } // namespace GpgFrontend |