summaryrefslogtreecommitdiff
path: root/ACE/contrib/FaCE/FaCE.h
blob: 89c1a7665bbae1f629e1f6bb9faa246883ecb14a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// -*- 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/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_)