1 //####COPYRIGHTBEGIN####
3 // ----------------------------------------------------------------------------
4 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
6 // This program is part of the eCos host tools.
8 // This program is free software; you can redistribute it and/or modify it
9 // under the terms of the GNU General Public License as published by the Free
10 // Software Foundation; either version 2 of the License, or (at your option)
13 // This program is distributed in the hope that it will be useful, but WITHOUT
14 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18 // You should have received a copy of the GNU General Public License along with
19 // this program; if not, write to the Free Software Foundation, Inc.,
20 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 // ----------------------------------------------------------------------------
24 //####COPYRIGHTEND####
25 // stdafx.h : include file for standard system include files,
26 // or project specific include files that are used frequently, but
27 // are changed infrequently
29 #ifndef _ECOS_STDAFX_H
30 #define _ECOS_STDAFX_H
32 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
34 #include <afxwin.h> // MFC core and standard components
35 #include <afxext.h> // MFC extensions
36 #ifndef _AFX_NO_AFXCMN_SUPPORT
37 #include <afxcmn.h> // MFC support for Windows Common Controls
38 #endif // _AFX_NO_AFXCMN_SUPPORT
39 #include <windowsx.h> // for GET_X_LPARAM, GET_Y_LPARAM
41 #pragma warning (disable: 4290) // C++ Exception Specification ignored
42 #pragma warning (disable: 4786) // long debug symbols
43 #pragma warning (disable: 4800) // 'int' : forcing value to bool 'true' or 'false' (performance warning)
52 enum BrowserType { Internal, AssociatedExternal, CustomExternal };
53 enum WhereType {InMacro, InName, InDesc, InCurrentValue, InDefaultValue};
54 enum RuleViewType {ViewFailing,ViewAll,ViewNone};
55 typedef __int64 ItemIntegerType;
57 // "Good practice" delete - sets argument to NULL
58 #define deleteZ(x) {delete x;x=0;}
59 #define deleteZA(x) {delete [] x;x=0;}
61 #undef TRACE // previous definition in mfc\include\afx.h
62 #define TRACE ::__Trace
63 extern void __Trace (LPCTSTR pszFormat,...);