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