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/basic/GpgFunctionObject.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/core/function/basic/GpgFunctionObject.h') diff --git a/src/core/function/basic/GpgFunctionObject.h b/src/core/function/basic/GpgFunctionObject.h index fea400aa..b9cb2581 100644 --- a/src/core/function/basic/GpgFunctionObject.h +++ b/src/core/function/basic/GpgFunctionObject.h @@ -30,7 +30,6 @@ #include -#include "core/GpgFrontendCoreExport.h" #include "core/function/basic/ChannelObject.h" #include "core/function/basic/SingletonStorage.h" #include "core/function/basic/SingletonStorageCollection.h" @@ -39,15 +38,15 @@ namespace GpgFrontend { -auto GPGFRONTEND_CORE_EXPORT GetChannelObjectInstance( - const std::type_info& type, int channel) -> ChannelObject*; +auto GF_CORE_EXPORT GetChannelObjectInstance(const std::type_info& type, + int channel) -> ChannelObject*; -auto GPGFRONTEND_CORE_EXPORT CreateChannelObjectInstance( +auto GF_CORE_EXPORT CreateChannelObjectInstance( const std::type_info& type, int channel, SecureUniquePtr channel_object) -> ChannelObject*; -auto GPGFRONTEND_CORE_EXPORT -GetGlobalFunctionObjectTypeLock(const std::type_info& type) -> std::mutex&; +auto GF_CORE_EXPORT GetGlobalFunctionObjectTypeLock(const std::type_info& type) + -> std::mutex&; /** * @brief -- cgit v1.2.3