From f1a2ce4bcb7d46981d1fc471e517709f076d9365 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Sun, 8 May 2022 01:01:29 +0800 Subject: refactor: develop 2.0.6 start 1. delete smtp ability 2. change libs link type to dramatic --- src/core/function/gpg/GpgBasicOperator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/function/gpg/GpgBasicOperator.h') diff --git a/src/core/function/gpg/GpgBasicOperator.h b/src/core/function/gpg/GpgBasicOperator.h index 9b9d9f63..696ac9dc 100644 --- a/src/core/function/gpg/GpgBasicOperator.h +++ b/src/core/function/gpg/GpgBasicOperator.h @@ -40,7 +40,8 @@ namespace GpgFrontend { * @brief Basic operation collection * */ -class GpgBasicOperator : public SingletonFunctionObject { +class GPGFRONTEND_CORE_EXPORT GpgBasicOperator + : public SingletonFunctionObject { public: /** * @brief Construct a new Basic Operator object @@ -48,8 +49,7 @@ class GpgBasicOperator : public SingletonFunctionObject { * @param channel Channel corresponding to the context */ explicit GpgBasicOperator( - int channel = SingletonFunctionObject::GetDefaultChannel()) - : SingletonFunctionObject(channel) {} + int channel = SingletonFunctionObject::GetDefaultChannel()); /** * @brief Call the interface provided by gpgme for encryption operation -- cgit v1.2.3