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

// (DO NOT EDIT: machine generated header) 'NeurQuant.pas' rev: 3.00

#ifndef NeurQuantHPP
#define NeurQuantHPP
#include <iedefs.hpp>
#include <ImageEnProc.hpp>
#include <ImageEn.hpp>
#include <SysUtils.hpp>
#include <Classes.hpp>
#include <Graphics.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Neurquant
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TIEQuantizer;
class PASCALIMPLEMENTATION TIEQuantizer : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	int fMethod;
	void *fQT;
	int __fastcall GetRGBIndex(const Iedefs::TRGB cl);
	
public:
	__fastcall TIEQuantizer(Graphics::TBitmap* SrcBitmap, Iedefs::TRGB * ColorMap, const int ColorMap_Size
		, int NCol, int Quality, int qmethod);
	__fastcall virtual ~TIEQuantizer(void);
	__property int RGBIndex[Iedefs::TRGB cl] = {read=GetRGBIndex};
};

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

}	/* namespace Neurquant */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Neurquant;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// NeurQuant
