aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-13 10:01:06 +0000
committersaturneric <[email protected]>2023-12-13 10:01:06 +0000
commit42264ed0d7a3c91fbe9f307984964ffc9e5fe65c (patch)
treea3ddecbd6ad723e42d68cc2c5aed7a88c4e242a3 /src/cmd.h
parentfeat: move test to src and add submodule googletest (diff)
downloadGpgFrontend-42264ed0d7a3c91fbe9f307984964ffc9e5fe65c.tar.gz
GpgFrontend-42264ed0d7a3c91fbe9f307984964ffc9e5fe65c.zip
refactor: improve the structure of main,core and test module
Diffstat (limited to 'src/cmd.h')
-rw-r--r--src/cmd.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/cmd.h b/src/cmd.h
index 62d123e2..b90384db 100644
--- a/src/cmd.h
+++ b/src/cmd.h
@@ -31,9 +31,17 @@
// boost
#include <boost/program_options.hpp>
+#include "GpgFrontendContext.h"
+
+namespace GpgFrontend {
+
// functions
auto PrintVersion() -> int;
auto ParseLogLevel(const boost::program_options::variables_map&)
- -> spdlog::level::level_enum; \ No newline at end of file
+ -> spdlog::level::level_enum;
+
+auto RunTest(const GFCxtWPtr&) -> int;
+
+} // namespace GpgFrontend \ No newline at end of file