OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
eagine
application
main.hpp
Go to the documentation of this file.
1
9
#ifndef EAGINE_APPLICATION_MAIN_HPP
10
#define EAGINE_APPLICATION_MAIN_HPP
11
12
#include "../main.hpp"
13
#include "
context.hpp
"
14
15
namespace
eagine
{
16
17
auto
main(main_ctx& ctx) ->
int
{
18
return
application::execution_context(ctx)
19
.prepare(application::establish(ctx))
20
.run()
21
.result();
22
}
23
24
}
// namespace eagine
25
26
#endif
eagine
Common code is placed in this namespace.
Definition:
eagine.hpp:21
context.hpp
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).