diff options
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 |