]> git.saurik.com Git - apple/mdnsresponder.git/blob - Clients/ExplorerPlugin/StdAfx.h
mDNSResponder-108.tar.gz
[apple/mdnsresponder.git] / Clients / ExplorerPlugin / StdAfx.h
1 /*
2 * Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22
23 Change History (most recent first):
24
25 $Log: StdAfx.h,v $
26 Revision 1.3 2005/10/19 19:50:34 herscher
27 Workaround a bug in the latest Microsoft Platform SDK when compiling C++ files that include (directly or indirectly) <WspiApi.h>
28
29 Revision 1.2 2004/07/13 21:24:21 rpantos
30 Fix for <rdar://problem/3701120>.
31
32 Revision 1.1 2004/06/18 04:34:59 rpantos
33 Move to Clients from mDNSWindows
34
35 Revision 1.1 2004/01/30 03:01:56 bradley
36 Explorer Plugin to browse for DNS-SD advertised Web and FTP servers from within Internet Explorer.
37
38 */
39
40 #ifndef __STDAFX__
41 #define __STDAFX__
42
43 #pragma once
44
45 #ifndef VC_EXTRALEAN
46 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
47 #endif
48
49 #if !defined(_WSPIAPI_COUNTOF)
50 # define _WSPIAPI_COUNTOF(_Array) (sizeof(_Array) / sizeof(_Array[0]))
51 #endif
52
53 #include <afxwin.h> // MFC core and standard components
54 #include <afxext.h> // MFC extensions
55 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
56 #ifndef _AFX_NO_AFXCMN_SUPPORT
57 #include <afxcmn.h> // MFC support for Windows Common Controls
58 #endif
59
60 #include <winsock2.h>
61 #include <afxsock.h> // MFC socket extensions
62
63 #endif // __STDAFX__