aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-17 14:57:03 +0000
committersaturneric <[email protected]>2023-10-17 14:57:03 +0000
commite5694e9f6d2a84954eaf508557caa795f5282b07 (patch)
tree40dd946005f7d5b7cdab7db608367add5bbdb38b /src/main.cpp
parentrefactor: flatpak yml file can not host here (diff)
downloadGpgFrontend-e5694e9f6d2a84954eaf508557caa795f5282b07.tar.gz
GpgFrontend-e5694e9f6d2a84954eaf508557caa795f5282b07.zip
refactor: change plugin system to module system
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8c8030d6..58cacc63 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -39,7 +39,7 @@
#include "core/GpgConstants.h"
#include "core/GpgCoreInit.h"
#include "core/function/GlobalSettingStation.h"
-#include "plugin/GpgFrontendPluginInit.h"
+#include "module/GpgFrontendModuleInit.h"
#include "spdlog/spdlog.h"
#include "ui/GpgFrontendApplication.h"
#include "ui/GpgFrontendUIInit.h"
@@ -120,7 +120,7 @@ int main(int argc, char* argv[]) {
GpgFrontend::UI::InitUILoggingSystem();
// init the logging system for ui
- // GpgFrontend::Plugin::InitPluginLoggingSystem();
+ GpgFrontend::Module::InitModuleLoggingSystem();
// change path to search for related
init_global_path_env();
@@ -133,7 +133,7 @@ int main(int argc, char* argv[]) {
int restart_count = 0;
// load integrated plugins
- GpgFrontend::Plugin::LoadGpgFrontendIntegratedPlugins();
+ GpgFrontend::Module::LoadGpgFrontendIntegratedModules();
do {
#ifndef WINDOWS
@@ -168,7 +168,7 @@ int main(int argc, char* argv[]) {
} while (return_from_event_loop_code == RESTART_CODE && restart_count < 3);
// shutdown the logging system for core
- // GpgFrontend::Plugin::ShutdownPluginLoggingSystem();
+ GpgFrontend::Module::ShutdownModuleLoggingSystem();
// shutdown the logging system for ui
GpgFrontend::UI::ShutdownUILoggingSystem();