chkconf.h 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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. #ifndef _WX_ANDROID_CHKCONF_H_
  12. #define _WX_ANDROID_CHKCONF_H_
  13. // ----------------------------------------------------------------------------
  14. // Disable features which don't work (yet) or don't make sense under Android.
  15. // ----------------------------------------------------------------------------
  16. // please keep the list in alphabetic order except for closely related settings
  17. // (e.g. wxUSE_ENH_METAFILE is put immediately after wxUSE_METAFILE)
  18. // ----------------------------------------------------------------------------
  19. // These are disabled because they are TODO. Or to decide whether to do or not.
  20. // ----------------------------------------------------------------------------
  21. #undef wxUSE_CONFIG
  22. #define wxUSE_CONFIG 0
  23. // This compiles, but not yet tested, so:
  24. #undef wxUSE_CONSOLE_EVENTLOOP
  25. #define wxUSE_CONSOLE_EVENTLOOP 0
  26. #undef wxUSE_DEBUGREPORT
  27. #define wxUSE_DEBUGREPORT 0
  28. #undef wxUSE_DIALUP_MANAGER
  29. #define wxUSE_DIALUP_MANAGER 0
  30. #undef wxUSE_DISPLAY
  31. #define wxUSE_DISPLAY 0
  32. #undef wxUSE_DYNAMIC_LOADER
  33. #define wxUSE_DYNAMIC_LOADER 0
  34. #undef wxUSE_DYNLIB_CLASS
  35. #define wxUSE_DYNLIB_CLASS 0
  36. #undef wxUSE_FSVOLUME
  37. #define wxUSE_FSVOLUME 0
  38. // Compile-time errors when last tried (wxHAS_INOTIFY, wxHAS_KQUEUE)
  39. #undef wxUSE_FSWATCHER
  40. #define wxUSE_FSWATCHER 0
  41. // Seems like Android lacks locale support. TODO: check!
  42. // Hint:
  43. // http://groups.google.com/group/android-ndk/browse_thread/thread/ffd012a047ec2392?pli=1
  44. // "Android doesn't provide locale support in its C and C++ runtimes.
  45. // This is handled at a higher-level in the application stack, using ICU
  46. // (which is not exposed by the NDK, since the ABI is very volatile, and the
  47. // set of built-in tables varies from device to device, based on customization
  48. // / size reasons).
  49. // You might want to use a different locale implementation. The STLport and GNU
  50. // libstdc++ do provide then if you're using C++."
  51. #undef wxUSE_INTL
  52. #define wxUSE_INTL 0
  53. #undef wxUSE_XLOCALE
  54. #define wxUSE_XLOCALE 0
  55. #undef wxUSE_IPC
  56. #define wxUSE_IPC 0
  57. #undef wxUSE_MEDIACTRL
  58. #define wxUSE_MEDIACTRL 0
  59. #undef wxUSE_ON_FATAL_EXCEPTION
  60. #define wxUSE_ON_FATAL_EXCEPTION 0
  61. #undef wxUSE_REGEX
  62. #define wxUSE_REGEX 0
  63. #undef wxUSE_STDPATHS
  64. #define wxUSE_STDPATHS 0
  65. #undef wxUSE_STACKWALKER
  66. #define wxUSE_STACKWALKER 0
  67. #undef wxUSE_MIMETYPE
  68. #define wxUSE_MIMETYPE 0
  69. #undef wxUSE_REGEX
  70. #define wxUSE_REGEX 0
  71. #undef wxUSE_REGKEY
  72. #define wxUSE_REGKEY 0
  73. #undef wxUSE_SNGLINST_CHECKER
  74. #define wxUSE_SNGLINST_CHECKER 0
  75. #undef wxUSE_SOUND
  76. #define wxUSE_SOUND 0
  77. #undef wxUSE_SYSTEM_OPTIONS
  78. #define wxUSE_SYSTEM_OPTIONS 0
  79. #undef wxUSE_XRC
  80. #define wxUSE_XRC 0
  81. // ----------------------------------------------------------------------------
  82. // GUI is completely TODO.
  83. // ----------------------------------------------------------------------------
  84. #undef wxUSE_COLOURPICKERCTRL
  85. #define wxUSE_COLOURPICKERCTRL 0
  86. #undef wxUSE_COLOURDLG
  87. #define wxUSE_COLOURDLG 0
  88. #undef wxUSE_FONTENUM
  89. #define wxUSE_FONTENUM 0
  90. #undef wxUSE_FONTMAP
  91. #define wxUSE_FONTMAP 0
  92. #undef wxUSE_HELP
  93. #define wxUSE_HELP 0
  94. #undef wxUSE_HTML
  95. #define wxUSE_HTML 0
  96. #undef wxUSE_LISTBOOK
  97. #define wxUSE_LISTBOOK 0
  98. #undef wxUSE_OWNER_DRAWN
  99. #define wxUSE_OWNER_DRAWN 0
  100. #undef wxUSE_NOTEBOOK
  101. #define wxUSE_NOTEBOOK 0
  102. #undef wxUSE_RICHEDIT
  103. #define wxUSE_RICHEDIT 0
  104. #undef wxUSE_RICHEDIT2
  105. #define wxUSE_RICHEDIT2 0
  106. #undef wxUSE_STATUSBAR
  107. #define wxUSE_STATUSBAR 0
  108. // Are tooltips useful at all on a touch screen?
  109. #undef wxUSE_TOOLTIPS
  110. #define wxUSE_TOOLTIPS 0
  111. #undef wxUSE_WXHTML_HELP
  112. #define wxUSE_WXHTML_HELP 0
  113. // ----------------------------------------------------------------------------
  114. // All image classes are TODO.
  115. // ----------------------------------------------------------------------------
  116. #undef wxUSE_IMAGE
  117. #define wxUSE_IMAGE 0
  118. #undef wxUSE_LIBPNG
  119. #define wxUSE_LIBPNG 0
  120. #undef wxUSE_LIBJPEG
  121. #define wxUSE_LIBJPEG 0
  122. #undef wxUSE_LIBTIFF
  123. #define wxUSE_LIBTIFF 0
  124. #undef wxUSE_TGA
  125. #define wxUSE_TGA 0
  126. #undef wxUSE_GIF
  127. #define wxUSE_GIF 0
  128. #undef wxUSE_PNM
  129. #define wxUSE_PNM 0
  130. #undef wxUSE_PCX
  131. #define wxUSE_PCX 0
  132. #undef wxUSE_IFF
  133. #define wxUSE_IFF 0
  134. #undef wxUSE_XPM
  135. #define wxUSE_XPM 0
  136. #undef wxUSE_ICO_CUR
  137. #define wxUSE_ICO_CUR 0
  138. #undef wxUSE_PALETTE
  139. #define wxUSE_PALETTE 0
  140. // ----------------------------------------------------------------------------
  141. // These are disabled because they don't make sense, are not supported, or
  142. // would require too much effort.
  143. // ----------------------------------------------------------------------------
  144. // Unnecessary under Android, probably it doesn't even compile.
  145. #undef wxUSE_AUI
  146. #define wxUSE_AUI 0
  147. // No command line on Android.
  148. #undef wxUSE_CMDLINE_PARSER
  149. #define wxUSE_CMDLINE_PARSER 0
  150. // No joystick on Android devices.
  151. // (What about using the direction sensor or the accelerometer?)
  152. #undef wxUSE_JOYSTICK
  153. #define wxUSE_JOYSTICK 0
  154. // No MDI under Android. Well, no GUI at all (yet).
  155. #undef wxUSE_MDI
  156. #define wxUSE_MDI 0
  157. #undef wxUSE_MDI_ARCHITECTURE
  158. #define wxUSE_MDI_ARCHITECTURE 0
  159. // No printing support on Android (2011).
  160. // Although 3rd party SDKs may exist (I know of one payware).
  161. #undef wxUSE_PRINTING_ARCHITECTURE
  162. #define wxUSE_PRINTING_ARCHITECTURE 0
  163. #endif // _WX_ANDROID_CHKCONF_H_