]> git.saurik.com Git - apple/mdnsresponder.git/blob - Clients/PrinterSetupWizard/stdafx.h
mDNSResponder-107.6.tar.gz
[apple/mdnsresponder.git] / Clients / PrinterSetupWizard / stdafx.h
1 /* -*- Mode: C; tab-width: 4 -*-
2 *
3 * Copyright (c) 1997-2004 Apple Computer, Inc. All rights reserved.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16
17 Change History (most recent first):
18
19 $Log: stdafx.h,v $
20 Revision 1.3 2006/08/14 23:24:09 cheshire
21 Re-licensed mDNSResponder daemon source code under Apache License, Version 2.0
22
23 Revision 1.2 2005/10/19 19:50:35 herscher
24 Workaround a bug in the latest Microsoft Platform SDK when compiling C++ files that include (directly or indirectly) <WspiApi.h>
25
26 Revision 1.1 2004/06/18 04:36:58 rpantos
27 First checked in
28
29
30 */
31
32 #pragma once
33
34 #ifndef VC_EXTRALEAN
35 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
36 #endif
37
38 // Modify the following defines if you have to target a platform prior to the ones specified below.
39 // Refer to MSDN for the latest info on corresponding values for different platforms.
40 #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
41 #define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
42 #endif
43
44 #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
45 #define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
46 #endif
47
48 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
49 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
50 #endif
51
52 // Step 3: We want to see one image, but not a tile
53 #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
54 #define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE 5.0 or later.
55 #endif
56
57 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
58
59 // turns off MFC's hiding of some common and often safely ignored warning messages
60 #define _AFX_ALL_WARNINGS
61
62 #if !defined(_WSPIAPI_COUNTOF)
63 # define _WSPIAPI_COUNTOF(_Array) (sizeof(_Array) / sizeof(_Array[0]))
64 #endif
65
66 #include <afxwin.h> // MFC core and standard components
67 #include <afxext.h> // MFC extensions
68 #include <afxdisp.h> // MFC Automation classes
69
70 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
71 #ifndef _AFX_NO_AFXCMN_SUPPORT
72 #include <afxcmn.h> // MFC support for Windows Common Controls
73 #endif // _AFX_NO_AFXCMN_SUPPORT
74 #include <afxdlgs.h>
75