// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'EnOcrEng.pas' rev: 4.00

#ifndef EnOcrEngHPP
#define EnOcrEngHPP

#pragma delphiheader begin
#pragma option push -w-
#include <EnDiGrph.hpp>	// Pascal unit
#include <EnMisc.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Enocreng
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TOcrDriver;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TOcrDriver : public System::TObject 
{
	typedef System::TObject inherited;
	
public:
	__fastcall virtual TOcrDriver(void) = 0 ;
	virtual void __fastcall Recognize(const Endigrph::TDibGraphic* Graphic, const Classes::TStrings* Output
		, const Enmisc::TEnvisionProgressEvent ProgressEvent) = 0 ;
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TOcrDriver(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

typedef TMetaClass*TOcrDriverClass;

class DELPHICLASS TOcrEngine;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TOcrEngine : public System::TObject 
{
	typedef System::TObject inherited;
	
protected:
	TOcrDriver* FDriver;
	
public:
	__fastcall TOcrEngine(const TMetaClass* OcrDriverClass);
	__fastcall virtual ~TOcrEngine(void);
	void __fastcall Recognize(const Endigrph::TDibGraphic* Graphic, const Classes::TStrings* Output, const 
		Enmisc::TEnvisionProgressEvent ProgressEvent);
	void __fastcall RecognizeRegion(const Endigrph::TDibGraphic* Graphic, const Windows::TRect &Region, 
		const Classes::TStrings* Output, const Enmisc::TEnvisionProgressEvent ProgressEvent);
	__property TOcrDriver* Driver = {read=FDriver};
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------

}	/* namespace Enocreng */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Enocreng;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// EnOcrEng
