Branch data Line data Source code
1 : : /** @file
2 : : * @brief It contains the global main function.
3 : : */
4 : :
5 : : #include "app.hpp"
6 : : #include "lib/lib.hpp"
7 : :
8 : : /**
9 : : * @brief The global main function.
10 : : *
11 : : * This function is the global main.
12 : : * Currently, it just calls app::App::main function with the injected lib::Lib.
13 : : *
14 : : * @return the error code, 0 means everything went well.
15 : : */
16 : 1 : int main() { return app::App{lib::Lib{}}.main(); }
|