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

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

#ifndef EnJpgGrHPP
#define EnJpgGrHPP

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

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

namespace Enjpggr
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TJpegGraphic;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TJpegGraphic : public Endigrph::TDibGraphic 
{
	typedef Endigrph::TDibGraphic inherited;
	
protected:
	Enmisc::TJpegQuality FSaveQuality;
	bool FSaveProgressive;
	bool FOptimizedHuffmanCodes;
	#pragma option push -w-inl
	/* virtual class method */ virtual bool __fastcall CanRead(const Classes::TStream* Stream) { return 
		CanRead(__classid(TJpegGraphic), Stream); }
	#pragma option pop
	/*         class method */ static bool __fastcall CanRead(TMetaClass* vmt, const Classes::TStream* 
		Stream);
	
public:
	__fastcall virtual TJpegGraphic(void);
	virtual void __fastcall SingleLoadFromStream(const Classes::TStream* Stream, const int ImageToLoad)
		;
	virtual void __fastcall SaveToStream(Classes::TStream* Stream);
	__property Enmisc::TJpegQuality SaveQuality = {read=FSaveQuality, write=FSaveQuality, nodefault};
	__property bool SaveProgressive = {read=FSaveProgressive, write=FSaveProgressive, nodefault};
	__property bool OptimizedHuffmanCodes = {read=FOptimizedHuffmanCodes, write=FOptimizedHuffmanCodes, 
		nodefault};
public:
	#pragma option push -w-inl
	/* TDibGraphic.Destroy */ inline __fastcall virtual ~TJpegGraphic(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

class DELPHICLASS EJpegError;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION EJpegError : public Sysutils::Exception 
{
	typedef Sysutils::Exception inherited;
	
public:
	#pragma option push -w-inl
	/* Exception.Create */ inline __fastcall EJpegError(const AnsiString Msg) : Sysutils::Exception(Msg
		) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmt */ inline __fastcall EJpegError(const AnsiString Msg, const System::TVarRec 
		* Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateRes */ inline __fastcall EJpegError(int Ident, Extended Dummy) : Sysutils::Exception(
		Ident, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmt */ inline __fastcall EJpegError(int Ident, const System::TVarRec * Args, 
		const int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateHelp */ inline __fastcall EJpegError(const AnsiString Msg, int AHelpContext) : Sysutils::Exception(
		Msg, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmtHelp */ inline __fastcall EJpegError(const AnsiString Msg, const System::TVarRec 
		* Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
		) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResHelp */ inline __fastcall EJpegError(int Ident, int AHelpContext) : Sysutils::Exception(
		Ident, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmtHelp */ inline __fastcall EJpegError(int Ident, const System::TVarRec * Args
		, const int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext
		) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~EJpegError(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

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

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

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