diff options
Diffstat (limited to 'src/core/function/gpg/GpgContext.h')
-rw-r--r-- | src/core/function/gpg/GpgContext.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/core/function/gpg/GpgContext.h b/src/core/function/gpg/GpgContext.h index 350c153e..57df610c 100644 --- a/src/core/function/gpg/GpgContext.h +++ b/src/core/function/gpg/GpgContext.h @@ -65,18 +65,57 @@ class GPGFRONTEND_CORE_EXPORT GpgContext ~GpgContext(); + /** + * @brief + * + * @return true + * @return false + */ [[nodiscard]] auto Good() const -> bool; + /** + * @brief + * + * @return gpgme_ctx_t + */ auto BinaryContext() -> gpgme_ctx_t; + /** + * @brief + * + * @return gpgme_ctx_t + */ auto DefaultContext() -> gpgme_ctx_t; + /** + * @brief + * + * @return QString + */ [[nodiscard]] auto KeyDBName() const -> QString; + /** + * @brief + * + * @return QString + */ [[nodiscard]] auto HomeDirectory() const -> QString; + /** + * @brief + * + * @return QString + */ [[nodiscard]] auto ComponentDirectory(GpgComponentType) const -> QString; + /** + * @brief + * + * @return true + * @return false + */ + auto RestartGpgAgent() -> bool; + private: class Impl; SecureUniquePtr<Impl> p_; |