diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2008-03-04 14:51:23 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2008-03-04 14:51:23 +0000 |
commit | 99aa8c60282c7b8072eb35eb9ac815702f5bf586 (patch) | |
tree | bda96bf8c3a4c2875a083d7b16720533c8ffeaf4 /ACE/contrib/FaCE/FaCE.h | |
parent | c4078c377d74290ebe4e66da0b4975da91732376 (diff) | |
download | ATCD-99aa8c60282c7b8072eb35eb9ac815702f5bf586.tar.gz |
undoing accidental deletion
Diffstat (limited to 'ACE/contrib/FaCE/FaCE.h')
-rw-r--r-- | ACE/contrib/FaCE/FaCE.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/ACE/contrib/FaCE/FaCE.h b/ACE/contrib/FaCE/FaCE.h new file mode 100644 index 00000000000..ef1842323c0 --- /dev/null +++ b/ACE/contrib/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_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_) |