PCH.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. #pragma once
  2. #if defined(MPT_BUILD_ENABLE_PCH)
  3. #include "openmpt/all/BuildSettings.hpp"
  4. #if defined(MODPLUG_TRACKER)
  5. #if defined(MPT_WITH_MFC)
  6. #include <afx.h>
  7. #include <afxwin.h>
  8. #include <afxext.h>
  9. #include <afxcmn.h>
  10. #include <afxcview.h>
  11. #include <afxdlgs.h>
  12. #ifdef MPT_MFC_FULL
  13. #include <afxlistctrl.h>
  14. #endif // MPT_MFC_FULL
  15. #include <afxole.h>
  16. #endif // MPT_WITH_MFC
  17. #endif // MODPLUG_TRACKER
  18. #if MPT_COMPILER_MSVC
  19. #include <intrin.h>
  20. #endif // MPT_COMPILER_MSVC
  21. #if defined(MODPLUG_TRACKER)
  22. #if MPT_OS_WINDOWS
  23. #include <windows.h>
  24. #include <windowsx.h>
  25. #include <shlwapi.h>
  26. #include <mmsystem.h>
  27. #endif // MPT_OS_WINDOWS
  28. #endif // MODPLUG_TRACKER
  29. #include "mpt/base/aligned_array.hpp"
  30. #include "mpt/base/memory.hpp"
  31. #include "mpt/base/span.hpp"
  32. #include "mpt/base/utility.hpp"
  33. #include "mpt/crc/crc.hpp"
  34. #include "mpt/crypto/hash.hpp"
  35. #include "mpt/crypto/jwk.hpp"
  36. #include "mpt/exception_text/exception_text.hpp"
  37. #include "mpt/io/base.hpp"
  38. #include "mpt/io/io.hpp"
  39. #include "mpt/io/io_span.hpp"
  40. #include "mpt/io/io_stdstream.hpp"
  41. #include "mpt/io/io_virtual_wrapper.hpp"
  42. #include "mpt/io_read/filecursor.hpp"
  43. #include "mpt/io_read/filecursor_memory.hpp"
  44. #include "mpt/io_read/filecursor_stdstream.hpp"
  45. #include "mpt/io_read/filedata.hpp"
  46. #include "mpt/io_read/filereader.hpp"
  47. #include "mpt/out_of_memory/out_of_memory.hpp"
  48. #include "mpt/system_error/system_error.hpp"
  49. #if defined(MODPLUG_TRACKER)
  50. #include "mpt/uuid/guid.hpp"
  51. #endif // MODPLUG_TRACKER
  52. #include "mpt/uuid/uuid.hpp"
  53. #include "openmpt/base/Endian.hpp"
  54. #include "openmpt/base/FlagSet.hpp"
  55. #include "openmpt/base/Types.hpp"
  56. #include "openmpt/logging/Logger.hpp"
  57. #include "../common/mptBaseMacros.h"
  58. #include "../common/mptBaseTypes.h"
  59. #include "../common/mptAssert.h"
  60. #include "../common/mptBaseUtils.h"
  61. #include "../common/mptString.h"
  62. #include "../common/mptStringFormat.h"
  63. #include "../common/mptStringParse.h"
  64. #include "../common/mptPathString.h"
  65. #include "../common/Logging.h"
  66. #include "../common/misc_util.h"
  67. #include "../common/ComponentManager.h"
  68. #include "../common/FileReader.h"
  69. #include "../common/mptFileIO.h"
  70. #include "../common/mptRandom.h"
  71. #include "../common/mptStringBuffer.h"
  72. #include "../common/mptTime.h"
  73. #include "../common/Profiler.h"
  74. #include "../common/serialization_utils.h"
  75. #include "../common/version.h"
  76. #include "../misc/mptCPU.h"
  77. #include "../misc/mptLibrary.h"
  78. #include "../misc/mptMutex.h"
  79. #include "../misc/mptOS.h"
  80. #include "../misc/mptWine.h"
  81. #include <algorithm>
  82. #include <array>
  83. #include <atomic>
  84. #if MPT_CXX_AT_LEAST(20)
  85. #include <bit>
  86. #endif
  87. #include <bitset>
  88. #include <chrono>
  89. #include <exception>
  90. #include <fstream>
  91. #include <iomanip>
  92. #include <ios>
  93. #include <istream>
  94. #include <iterator>
  95. #include <limits>
  96. #include <locale>
  97. #include <map>
  98. #include <memory>
  99. #include <mutex>
  100. #include <new>
  101. #include <numeric>
  102. #include <optional>
  103. #include <ostream>
  104. #include <random>
  105. #include <set>
  106. #include <sstream>
  107. #include <stdexcept>
  108. #include <streambuf>
  109. #include <string>
  110. #include <thread>
  111. #include <type_traits>
  112. #include <utility>
  113. #include <variant>
  114. #include <vector>
  115. #if MPT_CXX_AT_LEAST(20)
  116. #include <version>
  117. #endif
  118. #include <cmath>
  119. #include <cstddef>
  120. #include <cstdint>
  121. #include <cstdlib>
  122. #include <cstring>
  123. #include <ctime>
  124. #include <math.h>
  125. #include <stddef.h>
  126. #include <stdint.h>
  127. #include <stdlib.h>
  128. #include <string.h>
  129. #include <time.h>
  130. #endif // MPT_BUILD_ENABLE_PCH