]> git.localhorst.tv Git - tacos.git/blob - src/app/init.hpp
the usual suspects
[tacos.git] / src / app / init.hpp
1 #ifndef TACOS_APP_INIT_HPP_
2 #define TACOS_APP_INIT_HPP_
3
4 namespace tacos {
5
6 struct InitAlut {
7
8         InitAlut();
9         ~InitAlut();
10
11         InitAlut(const InitAlut &) = delete;
12         InitAlut &operator =(const InitAlut &) = delete;
13
14 };
15
16 struct InitGL {
17
18         InitGL(bool double_buffer = true, int samples = 1);
19
20 };
21
22 struct InitIMG {
23
24         InitIMG();
25         ~InitIMG() noexcept;
26
27         InitIMG(const InitIMG &) = delete;
28         InitIMG &operator =(const InitIMG &) = delete;
29
30 };
31
32 struct InitSDL {
33
34         InitSDL();
35         ~InitSDL() noexcept;
36
37         InitSDL(const InitSDL &) = delete;
38         InitSDL &operator =(const InitSDL &) = delete;
39
40 };
41
42 struct InitTTF {
43
44         InitTTF();
45         ~InitTTF() noexcept;
46
47         InitTTF(const InitTTF &) = delete;
48         InitTTF &operator =(const InitTTF &) = delete;
49
50 };
51
52 struct Init {
53
54         InitSDL sdl;
55         InitGL gl;
56         InitIMG img;
57         InitTTF ttf;
58         InitAlut alut;
59
60 };
61
62 }
63
64 #endif