diff options
Diffstat (limited to 'src/core/function/gpg/GpgAssuanHelper.h')
-rw-r--r-- | src/core/function/gpg/GpgAssuanHelper.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/function/gpg/GpgAssuanHelper.h b/src/core/function/gpg/GpgAssuanHelper.h index adf6d0ff..f357ed93 100644 --- a/src/core/function/gpg/GpgAssuanHelper.h +++ b/src/core/function/gpg/GpgAssuanHelper.h @@ -118,10 +118,16 @@ class GPGFRONTEND_CORE_EXPORT GpgAssuanHelper auto SendDataCommand(GpgComponentType type, const QString& command) -> std::tuple<GpgError, QStringList>; + /** + * @brief + * + */ + void ResetAllConnections(); + private: GpgContext& ctx_ = GpgContext::GetInstance(SingletonFunctionObject::GetChannel()); - QMap<GpgComponentType, assuan_context_t> assuan_ctx_; + QMap<GpgComponentType, QSharedPointer<struct assuan_context_s>> assuan_ctx_; QByteArray temp_data_; QString temp_status_; |