aboutsummaryrefslogtreecommitdiffstats
path: root/src/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.h')
-rw-r--r--src/init.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/init.h b/src/init.h
index 32b4f490..50442b43 100644
--- a/src/init.h
+++ b/src/init.h
@@ -28,7 +28,9 @@
#pragma once
-struct InitArgs;
+#include "GpgFrontendContext.h"
+
+namespace GpgFrontend {
/**
* @brief handle the signal SIGSEGV
@@ -38,26 +40,29 @@ struct InitArgs;
void HandleSignal(int sig);
/**
- * @brief processes before exit the program.
- *
- */
-void BeforeExit();
-
-/**
* @brief
*
* @param args
*/
-void InitLoggingSystem(InitArgs args);
+void InitLoggingSystem(const GFCxtSPtr&);
/**
* @brief initialize the logging system.
*
*/
-void ShutdownLoggingSystem();
+void ShutdownLoggingSystem(const GFCxtSPtr&);
/**
* @brief init global PATH env
*
*/
void InitGlobalPathEnv();
+
+/**
+ * @brief
+ *
+ * @param args
+ */
+void InitGlobalBasicalEnv(const GFCxtWPtr&);
+
+} // namespace GpgFrontend \ No newline at end of file