// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Sgjpeg.pas' rev: 10.00

#ifndef SgjpegHPP
#define SgjpegHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Activex.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Jpeg.hpp>	// Pascal unit
#include <Gdiplus.hpp>	// Pascal unit

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

namespace Sgjpeg
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TsgJPEGImage;
class PASCALIMPLEMENTATION TsgJPEGImage : public Jpeg::TJPEGImage 
{
	typedef Jpeg::TJPEGImage inherited;
	
public:
	virtual void __fastcall LoadFromStream(Classes::TStream* Stream);
public:
	#pragma option push -w-inl
	/* TJPEGImage.Create */ inline __fastcall virtual TsgJPEGImage(void) : Jpeg::TJPEGImage() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TJPEGImage.Destroy */ inline __fastcall virtual ~TsgJPEGImage(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE bool __fastcall LoadWithGDIPlus(const AnsiString AFileName, Graphics::TBitmap* ABmp);

}	/* namespace Sgjpeg */
using namespace Sgjpeg;
#pragma pack(pop)
#pragma option pop

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