OSDN Git Service

Add TortoiseProc
[tortoisegit/TortoiseGitJp.git] / TortoiseProc / stdafx.h
diff --git a/TortoiseProc/stdafx.h b/TortoiseProc/stdafx.h
new file mode 100644 (file)
index 0000000..8fb573b
--- /dev/null
@@ -0,0 +1,118 @@
+// stdafx.h : include file for standard system include files,\r
+// or project specific include files that are used frequently,\r
+// but are changed infrequently\r
+\r
+#pragma once\r
+#define XMESSAGEBOX_APPREGPATH "Software\\TortoiseSVN\\"\r
+\r
+// Modify the following defines if you have to target a platform prior to the ones specified below.\r
+// Refer to MSDN for the latest info on corresponding values for different platforms.\r
+#ifndef WINVER\r
+#      define WINVER 0x0501\r
+#endif\r
+#ifndef _WIN32_WINNT\r
+#      define _WIN32_WINNT 0x0501\r
+#endif                                         \r
+#ifndef _WIN32_WINDOWS\r
+#      define _WIN32_WINDOWS 0x0501\r
+#endif\r
+\r
+\r
+\r
+#ifndef _WIN32_IE\r
+#define _WIN32_IE 0x0501\r
+#endif\r
+\r
+#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS     // some CString constructors will be explicit\r
+\r
+// turns off MFC's hiding of some common and often safely ignored warning messages\r
+#define _AFX_ALL_WARNINGS\r
+\r
+#include <afxwin.h>         // MFC core and standard components\r
+#include <afxext.h>         // MFC extensions\r
+#include <WinSock2.h>\r
+#include <Ws2tcpip.h>\r
+#include <Wspiapi.h>\r
+\r
+#include <afxdtctl.h>          // MFC support for Internet Explorer 4 Common Controls\r
+#ifndef _AFX_NO_AFXCMN_SUPPORT\r
+#include <afxcmn.h>                    // MFC support for Windows Common Controls\r
+#endif // _AFX_NO_AFXCMN_SUPPORT\r
+#include <afxdlgs.h>\r
+#include <afxctl.h>\r
+#include <afxtempl.h>\r
+#include <afxmt.h>\r
+#include <afxext.h>         // MFC extensions\r
+#include <afxcontrolbars.h>     // MFC support for ribbons and control bars\r
+\r
+#include <atlbase.h>\r
+\r
+#ifndef LVS_EX_DOUBLEBUFFER\r
+#define LVS_EX_DOUBLEBUFFER     0x00010000\r
+#endif\r
+\r
+#pragma warning(push)\r
+#include "apr_general.h"\r
+#include "svn_pools.h"\r
+#include "svn_client.h"\r
+#include "svn_path.h"\r
+#include "svn_wc.h"\r
+#include "svn_utf.h"\r
+#include "svn_config.h"\r
+#include "svn_error_codes.h"\r
+#include "svn_subst.h"\r
+#include "svn_repos.h"\r
+#include "svn_time.h"\r
+#pragma warning(pop)\r
+\r
+#pragma warning(push)\r
+#pragma warning(disable: 4702) // Unreachable code warnings in xtree\r
+#include <string>\r
+#include <vector>\r
+#include <map>\r
+#include <set>\r
+#include <algorithm>\r
+#pragma warning(pop)\r
+\r
+#pragma warning(push)\r
+#pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)\r
+#include <vfw.h>\r
+#include <shlobj.h>\r
+#include <Shlwapi.h>\r
+#include <shlguid.h>\r
+#include <uxtheme.h>\r
+#include <tmschema.h>\r
+#include <dlgs.h>\r
+#include <wininet.h>\r
+#include <assert.h>\r
+#include <math.h>\r
+#include <gdiplus.h>\r
+#pragma warning(pop)\r
+\r
+#pragma warning(push)\r
+#pragma warning(disable: 4005) // macro redefinition\r
+#include "..\..\ext\apr\include\apr_version.h"\r
+#include "..\..\ext\apr-util\include\apu_version.h"\r
+//#include "..\..\ext\berkeley-db\db4.3-win32\include\db.h"\r
+#include "..\..\ext\neon\config.h"\r
+#include "..\..\..\common\openssl\inc32\openssl\opensslv.h"\r
+#include "..\..\..\common\zlib\zlib.h"\r
+#pragma warning(pop)\r
+\r
+#define __WIN32__\r
+#include "boost/pool/object_pool.hpp"\r
+\r
+#define USE_GDI_GRADIENT\r
+#define HISTORYCOMBO_WITH_SYSIMAGELIST\r
+\r
+#include "ProfilingInfo.h"\r
+\r
+#ifdef _WIN64\r
+#      define APP_X64_STRING   "x64"\r
+#else\r
+#      define APP_X64_STRING ""\r
+#endif\r
+\r
+#pragma warning(disable: 4512) // assignment operator could not be generated\r
+#pragma warning(disable: 4355) // used in base member initializer list\r
+\r