HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
crt_utils.hpp
Go to the documentation of this file.
1// Copyright Take Vos 2021-2022.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
8#pragma once
9
10#include <tuple>
11
12namespace hi::inline v1 {
13
25std::pair<int, char **> crt_start(int argc, char **argv, void *instance, int show_cmd);
26
36inline std::pair<int, char **> crt_start(void *instance, int show_cmd)
37{
38 return crt_start(0, nullptr, instance, show_cmd);
39}
40
50inline std::pair<int, char **> crt_start(int argc, char **argv)
51{
52 return crt_start(argc, argv, nullptr, 0);
53}
54
64int crt_finish(int argc, char **argv, int exit_code);
65
66} // namespace hi::inline v1
DOXYGEN BUG.
Definition algorithm.hpp:13
int crt_finish(int argc, char **argv, int exit_code)
Finish the hikogui system.
std::pair< int, char ** > crt_start(int argc, char **argv, void *instance, int show_cmd)
Start the hikogui system.