aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/api/apiconfig.h
blob: 722bf444ca7c7b2b73b0c05d784107338d8b151e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
#ifndef __API_DEF_CFG_H
#define __API_DEF_CFG_H

#define WASABINOMAINAPI

#ifdef WASABI_COMPILE_APP
# define WASABI_API_APP         applicationApi
#endif

#ifdef WASABI_COMPILE_SVC
# define WASABI_API_SVC         serviceApi
#endif

#ifdef WASABI_COMPILE_SYSCB
# define WASABI_API_SYSCB       sysCallbackApi
#endif

#ifdef WASABI_COMPILE_COMPONENTS
# define WASABI_API_COMPONENT   componentApi
#endif

#ifdef WASABI_COMPILE_SCRIPT
# define WASABI_API_MAKI        makiApi
#endif

#ifdef WASABI_COMPILE_UTF
# define WASABI_API_UTF         utfApi
#endif

#ifdef WASABI_COMPILE_WND
# define WASABI_API_WND         wndApi
#endif

#ifdef WASABI_COMPILE_IMGLDR
# define WASABI_API_IMGLDR      imgLoaderApi
#endif

#ifdef WASABI_COMPILE_FILEREADER
# define WASABI_API_FILE        fileApi
#endif

#ifdef WASABI_COMPILE_TIMERS
# define WASABI_API_TIMER       timerApi
#endif

#ifdef WASABI_COMPILE_WNDMGR
# define WASABI_API_WNDMGR      wndManagerApi
#endif

#ifdef WASABI_COMPILE_SKIN
# define WASABI_API_SKIN        skinApi
#endif

#ifdef WASABI_COMPILE_METADB
# define WASABI_API_METADB      metadbApi
#endif

#ifdef WASABI_COMPILE_LOCALES
# define WASABI_API_LOCALE      localeApi
#endif

#ifdef WASABI_COMPILE_CONFIG
# define WASABI_API_CONFIG      configApi
#endif

#ifdef WASABI_COMPILE_FONTS
# define WASABI_API_FONT        fontApi
// This sets the static font renderer. If you are compiling with api_config, the attribute to set is { 0x280876cf, 0x48c0, 0x40bc, { 0x8e, 0x86, 0x73, 0xce, 0x6b, 0xb4, 0x62, 0xe5 } }, "Font Renderer"
# if defined(WASABI_FONT_RENDERER_USE_WIN32)
#  define WASABI_FONT_RENDERER "" // "" is Win32
# elif defined(WASABI_FONT_RENDERER_USE_FREETYPE)
#  define WASABI_FONT_RENDERER "Freetype" // Freetype lib
# else
#  define WASABI_FONT_RENDERER "" // "" default for OS
# endif
#endif

#ifdef WASABI_COMPILE_MEMMGR
# define WASABI_API_MEMMGR      memmgrApi
#endif

#ifdef WASABI_COMPILE_XMLPARSER
# define WASABI_API_XML         xmlApi
#endif

#ifdef WASABI_COMPILE_MEDIACORE
# define WASABI_API_MEDIACORE   coreApi
#endif

#ifdef WASABI_COMPILE_TEXTMODE
# define WASABI_API_TEXTMODE    textmodeApi
#endif

#ifdef LINUX
# define WASABI_COMPILE_LINUX
# define WASABI_API_LINUX       linuxApi
#endif

#ifdef WASABI_COMPILE_STATSWND
# if defined(_DEBUG) | defined(WASABI_DEBUG)
#  define WASABI_COMPILE_STATSWND
#  ifndef WASABI_DEBUG
#   define WASABI_DEBUG
#  endif
# endif
#endif

#ifdef WASABI_COMPILE_APP
# include <api/application/api_application.h>
#endif

#ifdef WASABI_COMPILE_SVC
# include <api/service/api_service.h>
#endif

#ifdef WASABI_COMPILE_SYSCB
# include <api/syscb/api_syscb.h>
#endif

#ifdef WASABI_COMPILE_MEMMGR
# include <api/memmgr/api_memmgr.h>
#endif

#ifdef WASABI_COMPILE_SCRIPT
# include <api/script/api_maki.h>
#endif

#ifdef WASABI_COMPILE_FONTS
# include <api/font/api_font.h>
#endif

#ifdef WASABI_COMPILE_WND
# include <api/wnd/api_wnd.h>
#endif

#ifdef WASABI_COMPILE_IMGLDR
# include <api/imgldr/api_imgldr.h>
#endif

#ifdef WASABI_COMPILE_FILEREADER
# include <api/filereader/api_filereader.h>
#endif

#ifdef WASABI_COMPILE_TIMERS
# include <api/timer/api_timer.h>
#endif

#ifdef WASABI_COMPILE_WNDMGR
# include <api/wndmgr/api_wndmgr.h>
#endif

#ifdef WASABI_COMPILE_LOCALES
# include <api/locales/api_locales.h>
#endif

#ifdef WASABI_COMPILE_CONFIG
# include <api/config/api_config.h>
#endif

#ifdef WASABI_COMPILE_SKIN
# include <api/skin/api_skin.h>
#endif

#ifdef WASABI_COMPILE_MAKIDEBUG
# include <api/script/debugger/api_makidebug.h>
#endif

#ifdef WASABI_COMPILE_TEXTMODE
# include <api/textmode/api_textmode.h>
#endif

#ifdef WASABI_API_LINUX
#include <api/linux/api_linux.h>
#endif

#endif