diff options
author | Saturn&Eric <[email protected]> | 2024-05-11 17:18:36 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-11 17:18:36 +0000 |
commit | f909f2c4c35b187eb165ec5545e35d54c6d92bf3 (patch) | |
tree | 428fe9e63ecae6bb93be6f20cd2b1ee9b29ffd8d /src/main.cpp | |
parent | Merge pull request #145 from jermanuts/jermanuts-wizard-links-update (diff) | |
parent | fix: remove qt5compat and redirect dll output path of modules (diff) | |
download | GpgFrontend-f909f2c4c35b187eb165ec5545e35d54c6d92bf3.tar.gz GpgFrontend-f909f2c4c35b187eb165ec5545e35d54c6d92bf3.zip |
Merge pull request #148 from saturneric/develop
Develop 2.1.3.1
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index abc6ed56..a99f3e30 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,9 +33,11 @@ #include "GpgFrontendContext.h" #include "app.h" #include "cmd.h" -#include "core/utils/MemoryUtils.h" #include "init.h" +// +#include "core/utils/MemoryUtils.h" + /** * * @param argc @@ -43,7 +45,7 @@ * @return */ auto main(int argc, char* argv[]) -> int { - GpgFrontend::GFCxtSPtr ctx = + GpgFrontend::GFCxtSPtr const ctx = GpgFrontend::SecureCreateSharedObject<GpgFrontend::GpgFrontendContext>( argc, argv); ctx->InitApplication(); @@ -79,17 +81,17 @@ auto main(int argc, char* argv[]) -> int { ctx->gather_external_gnupg_info = false; ctx->load_default_gpg_context = false; - InitGlobalBasicalEnv(ctx, false); + InitGlobalBasicEnv(ctx, false); rtn = RunTest(ctx); - ShutdownGlobalBasicalEnv(ctx); + ShutdownGlobalBasicEnv(ctx); return rtn; } ctx->gather_external_gnupg_info = true; ctx->load_default_gpg_context = true; - InitGlobalBasicalEnv(ctx, true); + InitGlobalBasicEnv(ctx, true); rtn = StartApplication(ctx); - ShutdownGlobalBasicalEnv(ctx); + ShutdownGlobalBasicEnv(ctx); return rtn; } |