aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-23 06:29:25 +0000
committersaturneric <[email protected]>2023-10-23 06:29:25 +0000
commit31fc827672a131da020c4b4a0c3c8a145d477835 (patch)
treea825cdbf87d69d7449d00f7360c797e755e8f783 /src/main.cpp
parentfix: improve the stability of thread system (diff)
downloadGpgFrontend-31fc827672a131da020c4b4a0c3c8a145d477835.tar.gz
GpgFrontend-31fc827672a131da020c4b4a0c3c8a145d477835.zip
feat: improve project structure and add GRT for modules
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c4838060..83e7b103 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -120,7 +120,7 @@ int main(int argc, char* argv[]) {
GpgFrontend::UI::InitUILoggingSystem();
// init the logging system for ui
- GpgFrontend::Module::InitModuleLoggingSystem();
+ GpgFrontend::Module::LoadGpgFrontendModules();
// 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 modules
- GpgFrontend::Module::LoadGpgFrontendIntegratedModules();
+ GpgFrontend::Module::LoadGpgFrontendModules();
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::Module::ShutdownModuleLoggingSystem();
+ GpgFrontend::Module::ShutdownGpgFrontendModules();
// shutdown the logging system for ui
GpgFrontend::UI::ShutdownUILoggingSystem();