diff options
author | Saturneric <[email protected]> | 2023-02-11 12:26:23 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-02-11 12:26:23 +0000 |
commit | c480f6bbd460af903f9dc2048fb9485dde38c573 (patch) | |
tree | ea76900452bd1675a1fa428ec06d5abe030df0f1 /src/core/function/gpg/GpgAdvancedOperator.h | |
parent | feat: reduce logs (diff) | |
download | GpgFrontend-c480f6bbd460af903f9dc2048fb9485dde38c573.tar.gz GpgFrontend-c480f6bbd460af903f9dc2048fb9485dde38c573.zip |
feat: add more gnupg operations
Diffstat (limited to 'src/core/function/gpg/GpgAdvancedOperator.h')
-rw-r--r-- | src/core/function/gpg/GpgAdvancedOperator.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/core/function/gpg/GpgAdvancedOperator.h b/src/core/function/gpg/GpgAdvancedOperator.h index 267f1614..5325020a 100644 --- a/src/core/function/gpg/GpgAdvancedOperator.h +++ b/src/core/function/gpg/GpgAdvancedOperator.h @@ -49,14 +49,62 @@ class GPGFRONTEND_CORE_EXPORT GpgAdvancedOperator explicit GpgAdvancedOperator( int channel = SingletonFunctionObject::GetDefaultChannel()); + /** + * @brief + * + * @return true + * @return false + */ bool ClearGpgPasswordCache(); + /** + * @brief + * + * @return true + * @return false + */ bool ReloadGpgComponents(); + /** + * @brief + * + * @return true + * @return false + */ bool RestartGpgComponents(); + /** + * @brief + * + * @return true + * @return false + */ bool ResetConfigures(); + /** + * @brief + * + * @return true + * @return false + */ + bool StartGpgAgent(); + + /** + * @brief + * + * @return true + * @return false + */ + bool StartDirmngr(); + + /** + * @brief + * + * @return true + * @return false + */ + bool StartKeyBoxd(); + private: GpgContext& ctx_ = GpgContext::GetInstance( SingletonFunctionObject::GetChannel()); ///< Corresponding context |