// borland predefined macros
#define __FLAT__

#define __BCOPT__	1	// Defined in any compiler that has an optimizer
#define __BCPLUSPLUS__	0x340	 // Defined if you've selected C++ compilation; will increase in later releases
#define __BORLANDC__	0x500	// Version number
#define __CDECL__ 	1	// Defined if Calling Convention is set to C; otherwise undefined
#define _CHAR_UNSIGNED	1	// Defined by default indicating that the default char is unsigned char. Use the -K option to undefine this macro.

// #define __CONSOLE__	 	//Available only for the 32-bit compiler. When defined, the macro indicates that the program is a console application.
#define _CPPUNWIND	1	// Enable stack unwinding.This is true by default; use -xd- to disable.
#define __cplusplus	1	// Defined if in C++ mode; otherwise, undefined
//#define __DLL__	1	// Defined if Prolog/Epilog Code Generation is set to Windows DLL; otherwise undefined

#define _M_IX86	300 	// Always defined. The default  value is 300. You can change the value to 400 or 500 by using the /4 or /5 options.
#define __MSDOS__	1	// Integer constant
// #define __MT__	1	// Defined only for the 32-bit compiler if the -WM option is used. It specifies that the multithread library is to be linked.

#define __OVERLAY__	1	// Specific to the Borland C and C++ family of compilers. It is predefined as 1 if you compile a module with the -Y option (enable overlay support).  If you do not enable overlay support, this macro is undefined.
// #define __PASCAL__ 	1	// Defined if Calling Convention is set to Pascal; otherwise undefined
#define __STDC__	1	// Defined if you compile with the Keywords option set to ANSI; otherwise, undefined

#define __TCPLUSPLUS__ 	0x340 //	Version number
#define __TEMPLATES__	1	// Specific to the Borland C++ compilers. It is defined as 1 for C++ files (meaning that Borland C++ supports templates); otherwise, it is undefined.
#define __TLS__	1	// Always true when the 32-bit compiler is used.
#define __TURBOC__ 	0x460	// Will increase in later releases
#define _WCHAR_T	1	// Defined only for C++ programs to indicate that wchar_t is an intrinsically defined data type.

#define _WCHAR_T_DEFINED	1	// Defined only for C++ programs to indicate that wchar_t is an intrinsically defined data type.
#define _Windows	 	// Defined for Windows 16- and 32-bit compilations
#define __WIN32__	1	// Always defined for the 32-bit compiler. It is defined for console and GUI applications.

#define __stdcall
#define mutable
#define _loadds
#define __rtti
#define _WIN32
#define __declspec(v)

/* forward declaration : the PCCTS parser can not handle
  references to classes which are not defined yet
  */
class TLetter;

#define INC_OLE2
/* some of the folowing structs does not seem to be included via OWL */
/* if someone knows ho to fix this please let me know */
/* basically OLECTL.H does not get inlcuded by OWL/OCF */
typedef struct tagPOINTF * LPPOINTF;
typedef struct tagCONTROLINFO * LPCONTROLINFO;
typedef struct tagCONNECTDATA * LPCONNECTDATA;
typedef struct tagLICINFO * LPLICINFO;
typedef struct tagCAUUID * LPCAUUID;
typedef struct tagCALPOLESTR * LPCALPOLESTR;
typedef struct tagCADWORD * LPCADWORD;
typedef struct tagOCPFIPARAMS * LPOCPFIPARAMS;
typedef struct tagPROPPAGEINFO * LPPROPPAGEINFO;
typedef struct tagFONTDESC * LPFONTDESC;
typedef struct tagPICTDESC * LPPICTDESC;
typedef struct IOleControl * LPOLECONTROL;
typedef struct  IOleControlSite * LPOLECONTROLSITE;
typedef struct ISimpleFrameSite * LPSIMPLEFRAMESITE;
typedef struct IErrorLog * LPERRORLOG;
typedef struct IPropertyBag * LPPROPERTYBAG;
typedef struct IPersistPropertyBag * LPPERSISTPROPERTYBAG;
typedef struct IPersistStreamInit * LPPERSISTSTREAMINIT;
typedef struct IPersistMemory * LPPERSISTMEMORY;
typedef struct IPropertyNotifySink * LPPROPERTYNOTIFYSINK;
typedef struct IProvideClassInfo * LPPROVIDECLASSINFO;
typedef struct IProvideClassInfo2 * LPPROVIDECLASSINFO2;
typedef struct IConnectionPointContainer * LPCONNECTIONPOINTCONTAINER;
typedef struct IEnumConnectionPoints * LPENUMCONNECTIONPOINTS;
typedef struct IConnectionPoint * LPCONNECTIONPOINT;
typedef struct IEnumConnections * LPENUMCONNECTIONS;
typedef struct IClassFactory2 * LPCLASSFACTORY2;
typedef struct ISpecifyPropertyPages * LPSPECIFYPROPERTYPAGES;
typedef struct IPerPropertyBrowsing * LPPERPROPERTYBROWSING;
typedef struct IPropertyPageSite * LPPROPERTYPAGESITE;
typedef struct IPropertyPage * LPPROPERTYPAGE;
typedef struct IPropertyPage2 * LPPROPERTYPAGE2;
typedef struct IFont * LPFONT;
typedef struct IFontDisp * LPFONTDISP;
typedef struct IPicture * LPPICTURE;
typedef struct IPictureDisp * LPPICTUREDISP;


