From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- .../openmpt-trunk/common/stdafx.h | 141 +++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 Src/external_dependencies/openmpt-trunk/common/stdafx.h (limited to 'Src/external_dependencies/openmpt-trunk/common/stdafx.h') diff --git a/Src/external_dependencies/openmpt-trunk/common/stdafx.h b/Src/external_dependencies/openmpt-trunk/common/stdafx.h new file mode 100644 index 00000000..452d34a2 --- /dev/null +++ b/Src/external_dependencies/openmpt-trunk/common/stdafx.h @@ -0,0 +1,141 @@ +/* + * StdAfx.h + * -------- + * Purpose: Include file for standard system include files, or project specific include files that are used frequently, but are changed infrequently. Also includes the global build settings from openmpt/all/BuildSettings.hpp. + * Notes : (currently none) + * Authors: Olivier Lapicque + * OpenMPT Devs + * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. + */ + + +#pragma once + + +// has to be first +#include "openmpt/all/BuildSettings.hpp" + + +#if defined(MODPLUG_TRACKER) + +#if defined(MPT_WITH_MFC) + +// cppcheck-suppress missingInclude +#include // MFC core +// cppcheck-suppress missingInclude +#include // MFC standard components +// cppcheck-suppress missingInclude +#include // MFC extensions +// cppcheck-suppress missingInclude +#include // MFC support for Windows Common Controls +// cppcheck-suppress missingInclude +#include +// cppcheck-suppress missingInclude +#include +#ifdef MPT_MFC_FULL +// cppcheck-suppress missingInclude +#include +#endif // MPT_MFC_FULL +// cppcheck-suppress missingInclude +#include + +#endif // MPT_WITH_MFC + +#if MPT_OS_WINDOWS + +#include +#include +#include +#include + +#endif // MPT_OS_WINDOWS + +#endif // MODPLUG_TRACKER + + +#if MPT_COMPILER_MSVC +#include +#endif + + +#include "mpt/base/span.hpp" +#include "mpt/check/libc.hpp" +#if defined(MPT_WITH_MFC) +#include "mpt/check/mfc.hpp" +#endif +#if MPT_OS_WINDOWS +#include "mpt/check/windows.hpp" +#endif +#include "mpt/exception_text/exception_text.hpp" +#include "mpt/out_of_memory/out_of_memory.hpp" +#include "mpt/system_error/system_error.hpp" + +#include "openmpt/base/Types.hpp" +#include "openmpt/logging/Logger.hpp" + + +#include +#include + + +// this will be available everywhere + +#include "../common/mptBaseMacros.h" +// +// +// +// +// +// + +#include "../common/mptBaseTypes.h" +// "openmpt/base/Types.hpp" +// "mptBaseMacros.h" +// +// +// +// + +#include "../common/mptAssert.h" +// "mptBaseMacros.h" + +#include "../common/mptBaseUtils.h" +// +// +// +// +// + +#include "../common/mptString.h" +// +// +// +// +// +// + +#include "../common/mptStringBuffer.h" + +#include "../common/mptStringFormat.h" +// + +#include "../common/mptPathString.h" + +#include "../common/Logging.h" +// "openmpt/logging/Logger.hpp" +// + +#include "../common/misc_util.h" +// +// +// + +// for std::abs +#include +#include +#include +#include + + +//{{AFX_INSERT_LOCATION}} +// Microsoft Developer Studio will insert additional declarations immediately before the previous line. -- cgit