OSDN Git Service

Add ext and utils
[tortoisegit/TortoiseGitJp.git] / ext / ResizableLib / StdAfx.h
diff --git a/ext/ResizableLib/StdAfx.h b/ext/ResizableLib/StdAfx.h
new file mode 100644 (file)
index 0000000..62f5a9c
--- /dev/null
@@ -0,0 +1,75 @@
+// stdafx.h : include file for standard system include files, or project\r
+// specific include files that are used frequently, but are changed infrequently\r
+//\r
+/////////////////////////////////////////////////////////////////////////////\r
+//\r
+// This file is part of ResizableLib\r
+// http://sourceforge.net/projects/resizablelib\r
+//\r
+// Copyright (C) 2000-2004 by Paolo Messina\r
+// http://www.geocities.com/ppescher - mailto:ppescher@hotmail.com\r
+//\r
+// The contents of this file are subject to the Artistic License (the "License").\r
+// You may not use this file except in compliance with the License. \r
+// You may obtain a copy of the License at:\r
+// http://www.opensource.org/licenses/artistic-license.html\r
+//\r
+// If you find this code useful, credits would be nice!\r
+//\r
+/////////////////////////////////////////////////////////////////////////////\r
+\r
+#if !defined(AFX_RESIZABLESTDAFX_H__INCLUDED_)\r
+#define AFX_RESIZABLESTDAFX_H__INCLUDED_\r
+\r
+#if _MSC_VER > 1000\r
+#pragma once\r
+#endif // _MSC_VER > 1000\r
+\r
+// Set max target Windows platform\r
+#define WINVER 0x0501\r
+#define _WIN32_WINNT 0x0501\r
+\r
+// Use target Common Controls version for compatibility\r
+// with CPropertyPageEx, CPropertySheetEx\r
+#define _WIN32_IE 0x0500\r
+\r
+// let us be spared from a flood of deprecation warnings.\r
+#define _CRT_NONSTDC_NO_DEPRECATE 1\r
+#define _CRT_SECURE_NO_DEPRECATE 1\r
+#define _SECURE_SCL_DEPRECATE 0\r
+#define _HAS_ITERATOR_DEBUGGING 0\r
+\r
+#define VC_EXTRALEAN           // Exclude rarely-used stuff from Windows headers\r
+\r
+#include <afxwin.h>         // MFC core and standard components\r
+#include <afxext.h>         // MFC extensions\r
+#include <afxcmn.h>                    // MFC support for Windows Common Controls\r
+#include <WinSock2.h>\r
+#include <Ws2tcpip.h>\r
+#include <Wspiapi.h>\r
+\r
+#ifndef WS_EX_LAYOUTRTL\r
+#pragma message("Please update your Windows header files, get the latest SDK")\r
+#pragma message("WinUser.h is out of date!")\r
+\r
+#define WS_EX_LAYOUTRTL                0x00400000\r
+#endif\r
+\r
+#ifndef WC_BUTTON\r
+#pragma message("Please update your Windows header files, get the latest SDK")\r
+#pragma message("CommCtrl.h is out of date!")\r
+\r
+#define WC_BUTTON                      TEXT("Button")\r
+#define WC_STATIC                      TEXT("Static")\r
+#define WC_EDIT                                TEXT("Edit")\r
+#define WC_LISTBOX                     TEXT("ListBox")\r
+#define WC_COMBOBOX                    TEXT("ComboBox")\r
+#define WC_SCROLLBAR           TEXT("ScrollBar")\r
+#endif\r
+\r
+#define RSZLIB_NO_XP_DOUBLE_BUFFER\r
+\r
+//{{AFX_INSERT_LOCATION}}\r
+// Microsoft Visual C++ will insert additional declarations immediately before the previous line.\r
+\r
+#endif // !defined(AFX_RESIZABLESTDAFX_H__INCLUDED_)\r