~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/embedding/tests/mfcembed/components/stdafx.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
2
/* ***** BEGIN LICENSE BLOCK *****
 
3
 * Version: Mozilla-sample-code 1.0
 
4
 *
 
5
 * Copyright (c) 2002 Netscape Communications Corporation and
 
6
 * other contributors
 
7
 *
 
8
 * Permission is hereby granted, free of charge, to any person obtaining a
 
9
 * copy of this Mozilla sample software and associated documentation files
 
10
 * (the "Software"), to deal in the Software without restriction, including
 
11
 * without limitation the rights to use, copy, modify, merge, publish,
 
12
 * distribute, sublicense, and/or sell copies of the Software, and to permit
 
13
 * persons to whom the Software is furnished to do so, subject to the
 
14
 * following conditions:
 
15
 *
 
16
 * The above copyright notice and this permission notice shall be included
 
17
 * in all copies or substantial portions of the Software.
 
18
 *
 
19
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
20
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
21
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 
22
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 
23
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 
24
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 
25
 * DEALINGS IN THE SOFTWARE.
 
26
 *
 
27
 * Contributor(s):
 
28
 *   Chak Nanga <chak@netscape.com> 
 
29
 *
 
30
 * ***** END LICENSE BLOCK ***** */
 
31
 
 
32
// stdafx.h : include file for standard system include files,
 
33
//  or project specific include files that are used frequently, but
 
34
//      are changed infrequently
 
35
//
 
36
 
 
37
#ifndef _STDAFX_H
 
38
#define _STDAFX_H
 
39
 
 
40
#define VC_EXTRALEAN    // Exclude rarely-used stuff from Windows headers
 
41
 
 
42
//
 
43
// These headers are very evil, as they will define DEBUG if _DEBUG is
 
44
//  defined, which is lame and not what we want for things like
 
45
//  MOZ_TRACE_MALLOC and other tools.
 
46
// If we do not detect this, various MOZ/NS debug symbols are undefined
 
47
//  and we can not build.
 
48
// /MDd defines _DEBUG automagically to have the right debug C LIB
 
49
//  functions get called (so we can get symbols and hook into malloc).
 
50
//
 
51
#if !defined(DEBUG)
 
52
#define THERECANBENODEBUG
 
53
#endif
 
54
 
 
55
#include <afxwin.h>         // MFC core and standard components
 
56
#include <afxext.h>         // MFC extensions
 
57
#include <afxdtctl.h>           // MFC support for Internet Explorer 4 Common Controls
 
58
#include <afxpriv.h>            // Needed for MFC MBCS/Unicode Conversion Macros
 
59
#ifndef _AFX_NO_AFXCMN_SUPPORT
 
60
#include <afxcmn.h>                     // MFC support for Windows Common Controls
 
61
#endif // _AFX_NO_AFXCMN_SUPPORT
 
62
 
 
63
//{{AFX_INSERT_LOCATION}}
 
64
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
 
65
 
 
66
#if defined(THERECANBENODEBUG) && defined(DEBUG)
 
67
#undef DEBUG
 
68
#endif
 
69
 
 
70
#endif //_STDAFX_H