aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgAdvancedOperator.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-11 12:26:23 +0000
committerSaturneric <[email protected]>2023-02-11 12:26:23 +0000
commitc480f6bbd460af903f9dc2048fb9485dde38c573 (patch)
treeea76900452bd1675a1fa428ec06d5abe030df0f1 /src/core/function/gpg/GpgAdvancedOperator.h
parentfeat: reduce logs (diff)
downloadGpgFrontend-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.h48
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