aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/CacheUtils.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-05-01 14:39:10 +0000
committersaturneric <[email protected]>2025-05-01 14:39:10 +0000
commitc48a85cc0bcd6dd79e177d42ec27d7cc8262fd2d (patch)
tree45f3f09ccf9f38975881e4ce49901c0ae42ae3cc /src/core/utils/CacheUtils.h
parentfix: icon on linux platfrom (diff)
downloadGpgFrontend-c48a85cc0bcd6dd79e177d42ec27d7cc8262fd2d.tar.gz
GpgFrontend-c48a85cc0bcd6dd79e177d42ec27d7cc8262fd2d.zip
refactor: add cmake functions to register module and library
Diffstat (limited to 'src/core/utils/CacheUtils.h')
-rw-r--r--src/core/utils/CacheUtils.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/utils/CacheUtils.h b/src/core/utils/CacheUtils.h
index 7e546678..fbe67a10 100644
--- a/src/core/utils/CacheUtils.h
+++ b/src/core/utils/CacheUtils.h
@@ -28,15 +28,13 @@
#pragma once
-#include "core/GpgFrontendCoreExport.h"
-
namespace GpgFrontend {
/**
* @brief set a temp cache under a certain key
*
*/
-void GPGFRONTEND_CORE_EXPORT SetCacheValue(const QString &key, QString value);
+void GF_CORE_EXPORT SetCacheValue(const QString &key, QString value);
/**
* @brief after get the temp cache, its value will be imediately ease in
@@ -44,13 +42,13 @@ void GPGFRONTEND_CORE_EXPORT SetCacheValue(const QString &key, QString value);
*
* @return QString
*/
-auto GPGFRONTEND_CORE_EXPORT GetCacheValue(const QString &key) -> QString;
+auto GF_CORE_EXPORT GetCacheValue(const QString &key) -> QString;
/**
* @brief imediately ease temp cache in storage
*
* @return QString
*/
-void GPGFRONTEND_CORE_EXPORT ResetCacheValue(const QString &);
+void GF_CORE_EXPORT ResetCacheValue(const QString &);
} // namespace GpgFrontend