]> git.saurik.com Git - wxWidgets.git/blame - include/wx/android/chkconf.h
Document wxKill(wxSIGTERM) reliance on having an open window in wxMSW.
[wxWidgets.git] / include / wx / android / chkconf.h
CommitLineData
1b4bff82
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/android/chkconf.h
3// Purpose: Android-specific configuration options checks
4// Author: Zsolt Bakcsi
5// Modified by:
6// Created: 2011-12-08
7// RCS-ID:
8// Copyright: (c) wxWidgets team
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_ANDROID_CHKCONF_H_
13#define _WX_ANDROID_CHKCONF_H_
14
15// ----------------------------------------------------------------------------
16// Disable features which don't work (yet) or don't make sense under Android.
17// ----------------------------------------------------------------------------
18
19// please keep the list in alphabetic order except for closely related settings
20// (e.g. wxUSE_ENH_METAFILE is put immediately after wxUSE_METAFILE)
21
22
23// ----------------------------------------------------------------------------
24// These are disabled because they are TODO. Or to decide whether to do or not.
25// ----------------------------------------------------------------------------
26
27#undef wxUSE_CONFIG
28#define wxUSE_CONFIG 0
29
30// This compiles, but not yet tested, so:
31#undef wxUSE_CONSOLE_EVENTLOOP
32#define wxUSE_CONSOLE_EVENTLOOP 0
33
34#undef wxUSE_DEBUGREPORT
35#define wxUSE_DEBUGREPORT 0
36
37#undef wxUSE_DIALUP_MANAGER
38#define wxUSE_DIALUP_MANAGER 0
39
40#undef wxUSE_DISPLAY
41#define wxUSE_DISPLAY 0
42
43#undef wxUSE_DYNAMIC_LOADER
44#define wxUSE_DYNAMIC_LOADER 0
45
46#undef wxUSE_DYNLIB_CLASS
47#define wxUSE_DYNLIB_CLASS 0
48
49#undef wxUSE_FSVOLUME
50#define wxUSE_FSVOLUME 0
51
52// Compile-time errors when last tried (wxHAS_INOTIFY, wxHAS_KQUEUE)
53#undef wxUSE_FSWATCHER
54#define wxUSE_FSWATCHER 0
55
56// Seems like Android lacks locale support. TODO: check!
57// Hint:
58// http://groups.google.com/group/android-ndk/browse_thread/thread/ffd012a047ec2392?pli=1
59// "Android doesn't provide locale support in its C and C++ runtimes.
60// This is handled at a higher-level in the application stack, using ICU
61// (which is not exposed by the NDK, since the ABI is very volatile, and the
62// set of built-in tables varies from device to device, based on customization
63// / size reasons).
64// You might want to use a different locale implementation. The STLport and GNU
65// libstdc++ do provide then if you're using C++."
66#undef wxUSE_INTL
67#define wxUSE_INTL 0
68#undef wxUSE_XLOCALE
69#define wxUSE_XLOCALE 0
70
71#undef wxUSE_IPC
72#define wxUSE_IPC 0
73
74#undef wxUSE_MEDIACTRL
75#define wxUSE_MEDIACTRL 0
76
77#undef wxUSE_ON_FATAL_EXCEPTION
78#define wxUSE_ON_FATAL_EXCEPTION 0
79
80#undef wxUSE_REGEX
81#define wxUSE_REGEX 0
82
83#undef wxUSE_STDPATHS
84#define wxUSE_STDPATHS 0
85
86#undef wxUSE_STACKWALKER
87#define wxUSE_STACKWALKER 0
88
89#undef wxUSE_MIMETYPE
90#define wxUSE_MIMETYPE 0
91
92#undef wxUSE_REGEX
93#define wxUSE_REGEX 0
94
95#undef wxUSE_REGKEY
96#define wxUSE_REGKEY 0
97
98#undef wxUSE_SNGLINST_CHECKER
99#define wxUSE_SNGLINST_CHECKER 0
100
101#undef wxUSE_SOUND
102#define wxUSE_SOUND 0
103
104#undef wxUSE_SYSTEM_OPTIONS
105#define wxUSE_SYSTEM_OPTIONS 0
106
107#undef wxUSE_XRC
108#define wxUSE_XRC 0
109
110
111// ----------------------------------------------------------------------------
112// GUI is completely TODO.
113// ----------------------------------------------------------------------------
114
115#undef wxUSE_COLOURPICKERCTRL
116#define wxUSE_COLOURPICKERCTRL 0
117
118#undef wxUSE_COLOURDLG
119#define wxUSE_COLOURDLG 0
120
121#undef wxUSE_FONTENUM
122#define wxUSE_FONTENUM 0
123
124#undef wxUSE_FONTMAP
125#define wxUSE_FONTMAP 0
126
127#undef wxUSE_HELP
128#define wxUSE_HELP 0
129
130#undef wxUSE_HTML
131#define wxUSE_HTML 0
132
133#undef wxUSE_LISTBOOK
134#define wxUSE_LISTBOOK 0
135
136#undef wxUSE_OWNER_DRAWN
137#define wxUSE_OWNER_DRAWN 0
138
139#undef wxUSE_NOTEBOOK
140#define wxUSE_NOTEBOOK 0
141
142#undef wxUSE_RICHEDIT
143#define wxUSE_RICHEDIT 0
144#undef wxUSE_RICHEDIT2
145#define wxUSE_RICHEDIT2 0
146
147#undef wxUSE_STATUSBAR
148#define wxUSE_STATUSBAR 0
149
150// Are tooltips useful at all on a touch screen?
151#undef wxUSE_TOOLTIPS
152#define wxUSE_TOOLTIPS 0
153
154#undef wxUSE_WXHTML_HELP
155#define wxUSE_WXHTML_HELP 0
156
157
158// ----------------------------------------------------------------------------
159// All image classes are TODO.
160// ----------------------------------------------------------------------------
161
162#undef wxUSE_IMAGE
163#define wxUSE_IMAGE 0
164
165#undef wxUSE_LIBPNG
166#define wxUSE_LIBPNG 0
167
168#undef wxUSE_LIBJPEG
169#define wxUSE_LIBJPEG 0
170
171#undef wxUSE_LIBTIFF
172#define wxUSE_LIBTIFF 0
173
174#undef wxUSE_TGA
175#define wxUSE_TGA 0
176
177#undef wxUSE_GIF
178#define wxUSE_GIF 0
179
180#undef wxUSE_PNM
181#define wxUSE_PNM 0
182
183#undef wxUSE_PCX
184#define wxUSE_PCX 0
185
186#undef wxUSE_IFF
187#define wxUSE_IFF 0
188
189#undef wxUSE_XPM
190#define wxUSE_XPM 0
191
192#undef wxUSE_ICO_CUR
193#define wxUSE_ICO_CUR 0
194
195#undef wxUSE_PALETTE
196#define wxUSE_PALETTE 0
197
198
199
200// ----------------------------------------------------------------------------
201// These are disabled because they don't make sense, are not supported, or
202// would require too much effort.
203// ----------------------------------------------------------------------------
204
205// Unnecessary under Android, probably it doesn't even compile.
206#undef wxUSE_AUI
207#define wxUSE_AUI 0
208
209// No command line on Android.
210#undef wxUSE_CMDLINE_PARSER
211#define wxUSE_CMDLINE_PARSER 0
212
213// No joystick on Android devices.
214// (What about using the direction sensor or the accelerometer?)
215#undef wxUSE_JOYSTICK
216#define wxUSE_JOYSTICK 0
217
218// No MDI under Android. Well, no GUI at all (yet).
219#undef wxUSE_MDI
220#define wxUSE_MDI 0
221#undef wxUSE_MDI_ARCHITECTURE
222#define wxUSE_MDI_ARCHITECTURE 0
223
224// No printing support on Android (2011).
225// Although 3rd party SDKs may exist (I know of one payware).
226#undef wxUSE_PRINTING_ARCHITECTURE
227#define wxUSE_PRINTING_ARCHITECTURE 0
228
229
230#endif // _WX_ANDROID_CHKCONF_H_