// CodeGear C++Builder
// Copyright (c) 1995, 2012 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'SMI2DS.pas' rev: 24.00 (Win32)

#ifndef Smi2dsHPP
#define Smi2dsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.Classes.hpp>	// Pascal unit
#include <Data.DB.hpp>	// Pascal unit
#include <SMIBase.hpp>	// Pascal unit

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

namespace Smi2ds
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSMImportFromDataSet;
class PASCALIMPLEMENTATION TSMImportFromDataSet : public Smibase::TSMImportBaseComponent
{
	typedef Smibase::TSMImportBaseComponent inherited;
	
private:
	Data::Db::TDataSet* FSourceDataset;
	
protected:
	virtual void __fastcall BeforeImport(void);
	virtual void __fastcall GoFirst(void);
	virtual void __fastcall GoNext(void);
	virtual bool __fastcall NeedMore(void);
	virtual int __fastcall GetTotalCount(void);
	virtual System::Variant __fastcall GetFieldValue(const System::Variant &v);
	virtual bool __fastcall NotDefined(System::UnicodeString &strProperty);
	
public:
	virtual void __fastcall DetectAutoMapping(void);
	
__published:
	__property Data::Db::TDataSet* SourceDataset = {read=FSourceDataset, write=FSourceDataset};
public:
	/* TSMImportBaseComponent.Create */ inline __fastcall virtual TSMImportFromDataSet(System::Classes::TComponent* AOwner) : Smibase::TSMImportBaseComponent(AOwner) { }
	/* TSMImportBaseComponent.Destroy */ inline __fastcall virtual ~TSMImportFromDataSet(void) { }
	
};


//-- var, const, procedure ---------------------------------------------------
}	/* namespace Smi2ds */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_SMI2DS)
using namespace Smi2ds;
#endif
#pragma pack(pop)
#pragma option pop

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