libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
StdAfx.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright © 2002 by J.M.McGuiness, coder@hussar.me.uk
3 **
4 ** This library is free software; you can redistribute it and/or
5 ** modify it under the terms of the GNU Lesser General Public
6 ** License as published by the Free Software Foundation; either
7 ** version 2.1 of the License, or (at your option) any later version.
8 **
9 ** This library is distributed in the hope that it will be useful,
10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 ** Lesser General Public License for more details.
13 **
14 ** You should have received a copy of the GNU Lesser General Public
15 ** License along with this library; if not, write to the Free Software
16 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 
19 // stdafx.h : include file for standard system include files,
20 // or project specific include files that are used frequently, but
21 // are changed infrequently
22 //
23 
24 #if !defined(AFX_STDAFX_H__F585FBDB_34EB_4369_BEB4_2190904D9C11__INCLUDED_)
25 #define AFX_STDAFX_H__F585FBDB_34EB_4369_BEB4_2190904D9C11__INCLUDED_
26 
27 #if _MSC_VER > 1000
28 #pragma once
29 #endif // _MSC_VER > 1000
30 
31 #define WINVER 0x0501
32 #define _WIN32_WINNT 0x0501
33 
34 #define _CRT_SECURE_NO_WARNINGS
35 
36 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
37 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
38 
39 #define BOOST_USE_WINDOWS_H
40 
41 #pragma warning(disable:4800) ///< 'BOOL' : forcing value to bool 'true' or 'false' (performance warning).
42 #include <afxwin.h> // MFC core and standard components
43 //#include <afxext.h> // MFC extensions
44 
45 #ifndef _AFX_NO_OLE_SUPPORT
46 //#include <afxole.h> // MFC OLE classes
47 //#include <afxodlgs.h> // MFC OLE dialog classes
48 //#include <afxdisp.h> // MFC Automation classes
49 #endif // _AFX_NO_OLE_SUPPORT
50 
51 
52 #ifndef _AFX_NO_DB_SUPPORT
53 //#include <afxdb.h> // MFC ODBC database classes
54 #endif // _AFX_NO_DB_SUPPORT
55 
56 #ifndef _AFX_NO_DAO_SUPPORT
57 //#include <afxdao.h> // MFC DAO database classes
58 #endif // _AFX_NO_DAO_SUPPORT
59 
60 //#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
61 #ifndef _AFX_NO_AFXCMN_SUPPORT
62 //#include <afxcmn.h> // MFC support for Windows Common Controls
63 #endif // _AFX_NO_AFXCMN_SUPPORT
64 
65 #include<windows.h>
66 // Networking functionality such as browsing.
67 #include<lm.h>
68 // AT job scheduling structure.
69 #include<lmat.h>
70 // For the Service Manager functions. (NT only.)
71 #include<winsvc.h>
72 
73 #include<Loadperf.h> // For "LoadPerfCounterTextStrings(...)" & "UnloadPerfCounterTextStrings(...)"
74 
75 #include<winperf.h>
76 
77 #pragma warning(push)
78 # pragma warning(disable:4244) ///< Conversion from 'int' to 'unsigned short', possible loss of data.
79 # include "../../../../core/blatant_old_msvc_compiler_hacks.hpp"
80 # include "../../../../core/info.hpp"
81 # include "../../../../core/non_copyable.hpp"
82 # include "../../../../core/trace.hpp"
83 # include "../../../../core/ttypes.hpp"
84 # include "../../../../core/unicode_conversions.hpp"
85 
86 # include "boost\date_time\microsec_time_clock.hpp"
87 # include "boost\thread\thread_time.hpp"
88 
89 #pragma warning(pop)
90 
91 #include<algorithm>
92 #include<cassert>
93 #include<functional>
94 #include<iomanip>
95 #include<iostream>
96 #include<limits>
97 #include<list>
98 #include<map>
99 #include<memory>
100 #include<ostream>
101 #include<set>
102 #include<sstream>
103 #include<string>
104 #include<vector>
105 
106 //{{AFX_INSERT_LOCATION}}
107 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
108 
109 #endif // !defined(AFX_STDAFX_H__F585FBDB_34EB_4369_BEB4_2190904D9C11__INCLUDED_)