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

// (DO NOT EDIT: machine generated header) 'QImport3DataSet.pas' rev: 34.00 (Windows)

#ifndef Qimport3datasetHPP
#define Qimport3datasetHPP

#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>
#include <SysInit.hpp>
#include <Data.DB.hpp>
#include <System.Classes.hpp>
#include <System.IniFiles.hpp>
#include <System.SysUtils.hpp>
#include <QImport3.hpp>
#include <QImport3StrIDs.hpp>
#include <QImport3Common.hpp>
#include <QImport3StrTypes.hpp>

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

namespace Qimport3dataset
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TQImport3DataSet;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TQImport3DataSet : public Qimport3::TQImport3
{
	typedef Qimport3::TQImport3 inherited;
	
private:
	Data::Db::TDataSet* FSource;
	bool FGoToFirstRecord;
	int FSkipCounter;
	int FImportCounter;
	
protected:
	virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);
	virtual void __fastcall CheckProperties();
	virtual void __fastcall StartImport();
	virtual bool __fastcall CheckCondition();
	virtual bool __fastcall Skip();
	virtual void __fastcall FillImportRow();
	virtual Qimport3::TQImportResult __fastcall ImportData();
	virtual void __fastcall ChangeCondition();
	virtual void __fastcall FinishImport();
	virtual void __fastcall DoLoadConfiguration(System::Inifiles::TIniFile* IniFile);
	virtual void __fastcall DoSaveConfiguration(System::Inifiles::TIniFile* IniFile);
	
public:
	__fastcall virtual TQImport3DataSet(System::Classes::TComponent* AOwner);
	
__published:
	__property Data::Db::TDataSet* Source = {read=FSource, write=FSource};
	__property SkipFirstRows = {default=0};
	__property bool GoToFirstRecord = {read=FGoToFirstRecord, write=FGoToFirstRecord, default=1};
public:
	/* TQImport3.Destroy */ inline __fastcall virtual ~TQImport3DataSet() { }
	
};


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

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