acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
windows.h
1
2
3namespace acme
4{
5
6
7 class console
8 {
9 public:
10
11
12 void m_estatus;
13 //::pointer<::platform::system>system();
14
15 // void create_system()
16 // {
17 //
18 // acme_ref();
19 //
20 // //system() = ::pointer_transfer(platform_create_system(::GetModuleHandle(NULL)));
21 //
23 //
24 // //system()->console_initialize();
25 //
26 //
27 //
28 // }
29
30 void common_construct()
31 {
32
33 //create_system();
34
35 //application_common(system());
36
37 }
38
39
40 console(::i32 argc, char_pointer * argv)
41 {
42
43 common_construct();
44
45 //system()->system_construct(argc, argv);
46
47 init();
48
49 }
50
51
52 console(::i32 argc, wchar_t ** argv)
53 {
54
55 common_construct();
56
57 //system()->system_construct(argc, argv);
58
59 init();
60
61 }
62
63
64 void init()
65 {
66
67 //m_estatus = (void) system()->inline_init();
68
69 m_estatus = ::success;
70
71 }
72
73
74 ::i32 result()
75 {
76
77 //m_estatus = papp->m_estatus;
78
79 ::i32 iErrorStatus = m_estatus.error_status();
80
81 //system()->inline_term();
82
83 //system().release();
84
85 return iErrorStatus;
86
87 }
88
89
90 ~console()
91 {
92
93 //if (system())
94 //{
95
96 // result();
97
98 //}
99
100
101 }
102
103
104 };
105
106
107 //::i32 wmain(::i32 argc, wchar_t* argv[])
108 //{
109 //
110 // console console(argc, argv);
111 //
112 // main();
113 //
114 // return console.result();
115 //
116 //}
117
118
119} // namespace acme
120
121
122
include "aura/graphics/image/context.h"
Definition aaaa__defer.h:32