diff options
Diffstat (limited to 'ACE/apps/FaCE/FaCE.h')
-rw-r--r-- | ACE/apps/FaCE/FaCE.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/ACE/apps/FaCE/FaCE.h b/ACE/apps/FaCE/FaCE.h new file mode 100644 index 00000000000..8a4b80425d9 --- /dev/null +++ b/ACE/apps/FaCE/FaCE.h @@ -0,0 +1,57 @@ +// -*- C++ -*- +//============================================================================= +/** + * @file FaCE.h + * + * $Id$ + * + * @author Si Mong Park <spark@ociweb.com> + */ +//============================================================================= + +#if !defined(AFX_FACE_H__1043241E_A6A9_4246_A9E4_7A774E19EE73__INCLUDED_) +#define AFX_FACE_H__1043241E_A6A9_4246_A9E4_7A774E19EE73__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#if (_WIN32_WCE <= 211) +#error This project can not be built for H/PC Pro 2.11 or earlier platforms. +#endif + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +////// +// BEGIN FaCE specific preprocessor +#ifdef NO_ACE + +#include <windows.h> +#include "CE_Screen_Output.h" + +#define ACE_TCHAR wchar_t +#define ACE_LIB_TEXT(STRING) L##STRING +#define ACE_CE_Screen_Output CE_Screen_Output + +int main_i(int, wchar_t**); + +#else + +#include <ace/OS.h> +#include <ace/CE_Screen_Output.h> + +int ace_main_i(int, ACE_TCHAR**); + +#endif // NO_ACE +// END FaCE specific +////// + +#include "resource.h" + +#define MENU_HEIGHT 26 +#define MAX_LOADSTRING 101 +#define MAX_COMMAND_LINE 1001 // Max number of characters + 1 (null at the end) for user-input argv + +extern ACE_CE_Screen_Output cout; // Replacement of std::cout + +#endif // !defined(AFX_FACE_H__1043241E_A6A9_4246_A9E4_7A774E19EE73__INCLUDED_) |