aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_key_server_sync/KeyServerSyncModule.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2026-09-19 12:01:05 +0200
committersaturneric <[email protected]>2026-09-19 12:01:05 +0200
commita951c08beaf825d4ea47dd0806845c35d0ec2a91 (patch)
treeb732d6db5cab5a52739eaa9a62e70ceeadaef218 /src/m_key_server_sync/KeyServerSyncModule.cpp
parentfeat(modules): adopt manifest-driven module builds (diff)
downloadmodules-a951c08beaf825d4ea47dd0806845c35d0ec2a91.tar.gz
modules-a951c08beaf825d4ea47dd0806845c35d0ec2a91.zip
refactor(modules): migrate to unified GFModule API
- replace legacy module utility includes across module sources - simplify bootstrap and translation registration macros - update module headers to use the unified public interface - replace secure object creation with SDK object factories
Diffstat (limited to 'src/m_key_server_sync/KeyServerSyncModule.cpp')
-rw-r--r--src/m_key_server_sync/KeyServerSyncModule.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/m_key_server_sync/KeyServerSyncModule.cpp b/src/m_key_server_sync/KeyServerSyncModule.cpp
index a657f06..e7a5f76 100644
--- a/src/m_key_server_sync/KeyServerSyncModule.cpp
+++ b/src/m_key_server_sync/KeyServerSyncModule.cpp
@@ -34,8 +34,8 @@
#include <QtNetwork>
#include <QtWidgets>
+#include "GFModule.h"
#include "GFModuleBootstrap.h"
-#include "GFModuleDefine.h"
#include "GFSDKUI.h"
#include "KeyServerList.h"
#include "KeyServerSettingsPage.h"
@@ -141,12 +141,9 @@ auto ConfirmHkpPublish(QWidget* parent, const QString& url) -> bool {
}
} // namespace
-GF_MODULE_BOOTSTRAP_V2("com.bktus.gpgfrontend.module.key_server_sync",
- "KeyServerSync", "1.3.2",
- "Sync Information From Trusted Key Server.",
- "Saturneric")
+GF_MODULE_BOOTSTRAP()
-DEFINE_TRANSLATIONS_STRUCTURE(ModuleKeyServerSync);
+DEFINE_TRANSLATIONS_STRUCTURE();
auto GFRegisterModule() -> int {
LOG_DEBUG("key server sync module registering");