pch.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /////////////////////////////////////////////////////////////////////////////
  2. // pch.h : include file for standard system include files,
  3. // or project specific include files that are used frequently,
  4. // but are changed infrequently
  5. #if !defined(AFX_STDAFX_H__537FEB63_0A41_11D3_8B58_00C04F681633__INCLUDED_)
  6. #define AFX_STDAFX_H__537FEB63_0A41_11D3_8B58_00C04F681633__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #ifndef _ATL_STATIC_REGISTRY
  11. #define _ATL_STATIC_REGISTRY
  12. #endif
  13. #ifndef STRICT
  14. #define STRICT
  15. #endif
  16. #ifndef _WIN32_WINNT
  17. #define _WIN32_WINNT 0x0400
  18. #endif
  19. #define _ATL_APARTMENT_THREADED
  20. #pragma warning(disable:4786) // identifier was truncated ... in the debug information
  21. #pragma warning(disable:4503) // decorated name length exceeded
  22. #include <windows.h>
  23. #include <stdlib.h>
  24. #include <commctrl.h>
  25. #include <memory.h>
  26. #include <objsafe.h>
  27. // STL headers
  28. #include <functional>
  29. #include <algorithm>
  30. #include <map>
  31. #include <set>
  32. #include <vector>
  33. // redo min and max after all STL includes
  34. #include <minmax.h>
  35. #include <atlbase.h>
  36. extern CComModule _Module;
  37. #include <atlcom.h>
  38. #define __MODULE__ "AGC"
  39. #include <TCLib.h>
  40. #include <TCAtl.h>
  41. #include <..\TCAtl\ObjectMap.h>
  42. #include <..\TCAtl\PropertyClass.h>
  43. #include <..\TCAtl\TCNullStreamImpl.h>
  44. #include <zlib.h>
  45. #include <utility.h>
  46. #include <Igc.h>
  47. #define AGC_MODULE
  48. /////////////////////////////////////////////////////////////////////////////
  49. template <class T>
  50. class ATL_NO_VTABLE AGCObjectSafetyImpl :
  51. public IObjectSafetyImpl<T,
  52. INTERFACESAFE_FOR_UNTRUSTED_CALLER | INTERFACESAFE_FOR_UNTRUSTED_DATA>
  53. {
  54. // Types
  55. protected:
  56. typedef IObjectSafetyImpl<T, INTERFACESAFE_FOR_UNTRUSTED_CALLER |
  57. INTERFACESAFE_FOR_UNTRUSTED_DATA> AGCObjectSafetyImplBase;
  58. // Construction
  59. public:
  60. AGCObjectSafetyImpl()
  61. {
  62. AGCObjectSafetyImplBase::m_dwCurrentSafety =
  63. INTERFACESAFE_FOR_UNTRUSTED_CALLER | INTERFACESAFE_FOR_UNTRUSTED_DATA;
  64. }
  65. };
  66. /////////////////////////////////////////////////////////////////////////////
  67. //{{AFX_INSERT_LOCATION}}
  68. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  69. /////////////////////////////////////////////////////////////////////////////
  70. #endif // !defined(AFX_STDAFX_H__537FEB63_0A41_11D3_8B58_00C04F681633__INCLUDED)