From c48a85cc0bcd6dd79e177d42ec27d7cc8262fd2d Mon Sep 17 00:00:00 2001 From: saturneric Date: Thu, 1 May 2025 16:39:10 +0200 Subject: refactor: add cmake functions to register module and library --- src/core/function/gpg/GpgBasicOperator.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 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 ac6908f4..cfd91227 100644 --- a/src/core/function/gpg/GpgBasicOperator.h +++ b/src/core/function/gpg/GpgBasicOperator.h @@ -41,7 +41,7 @@ namespace GpgFrontend { * @brief Basic operation collection * */ -class GPGFRONTEND_CORE_EXPORT GpgBasicOperator +class GF_CORE_EXPORT GpgBasicOperator : public SingletonFunctionObject { public: /** @@ -63,8 +63,8 @@ class GPGFRONTEND_CORE_EXPORT GpgBasicOperator * @brief * */ - auto EncryptSync(const GpgAbstractKeyPtrList&, const GFBuffer&, - bool) -> std::tuple; + auto EncryptSync(const GpgAbstractKeyPtrList&, const GFBuffer&, bool) + -> std::tuple; /** * @brief Call the interface provided by GPGME to symmetrical encryption @@ -85,8 +85,8 @@ class GPGFRONTEND_CORE_EXPORT GpgBasicOperator * @param cb * @return std::tuple */ - auto EncryptSymmetricSync(const GFBuffer& in_buffer, - bool ascii) -> std::tuple; + auto EncryptSymmetricSync(const GFBuffer& in_buffer, bool ascii) + -> std::tuple; /** * @@ -115,8 +115,8 @@ class GPGFRONTEND_CORE_EXPORT GpgBasicOperator */ auto EncryptSignSync(const GpgAbstractKeyPtrList& keys, const GpgAbstractKeyPtrList& signers, - const GFBuffer& in_buffer, - bool ascii) -> std::tuple; + const GFBuffer& in_buffer, bool ascii) + -> std::tuple; /** * @brief Call the interface provided by gpgme for decryption operation @@ -212,8 +212,8 @@ class GPGFRONTEND_CORE_EXPORT GpgBasicOperator * @return std::tuple */ auto SignSync(const GpgAbstractKeyPtrList& signers, const GFBuffer& in_buffer, - GpgSignMode mode, - bool ascii) -> std::tuple; + GpgSignMode mode, bool ascii) + -> std::tuple; /** * @brief Set the private key for signatures, this operation is a global -- cgit v1.2.3