source: branches/erasershellext/cpp/stdafx.h @ 696

Revision 696, 1.5 KB checked in by lowjoel, 6 years ago (diff)

Added copyright headers and fixed a few minor stuff (#pragmas, etc)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Rev
Line 
1/*
2 * $Id$
3 * Copyright 2008 The Eraser Project
4 * Original Author: Kasra Nassiri <cjax@users.sourceforge.net>
5 * Modified By: Joel Low <lowjoel@users.sourceforge.net>
6 *
7 * This file is part of Eraser.
8 *
9 * Eraser is free software: you can redistribute it and/or modify it under the
10 * terms of the GNU General Public License as published by the Free Software
11 * Foundation, either version 3 of the License, or (at your option) any later
12 * version.
13 *
14 * Eraser is distributed in the hope that it will be useful, but WITHOUT ANY
15 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
17 *
18 * A copy of the GNU General Public License can be found at
19 * <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
24//Eraser targets XP and above.
25#ifndef WINVER
26    #define WINVER 0x0501
27#endif
28#ifndef _WIN32_WINNT
29    #define _WIN32_WINNT 0x0501
30#endif
31#ifndef _WIN32_IE
32    #define _WIN32_IE 0x0700
33#endif
34
35#ifndef STRICT
36    #define STRICT
37#endif
38
39#define _ATL_APARTMENT_THREADED
40#define _ATL_NO_AUTOMATIC_NAMESPACE
41#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS  // some CString constructors will be explicit
42
43#include <afxwin.h>
44#ifndef _AFX_NO_OLE_SUPPORT
45    #include <afxdisp.h>        // MFC Automation classes
46#endif
47
48#include <comsvcs.h>
49
50#include "resource.h"
51#include <atlbase.h>
52#include <atlcom.h>
53#include <atlctl.h>
54using namespace ATL;
55
56#include <string>
57#include <list>
58#include <fstream>
59
60#undef max
Note: See TracBrowser for help on using the repository browser.