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

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

#ifndef Qimport3basedocumentfileHPP
#define Qimport3basedocumentfileHPP

#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 <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <Winapi.Windows.hpp>
#include <QImport3StrTypes.hpp>
#include <QImport3Encoding.hpp>

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

namespace Qimport3basedocumentfile
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TBaseDocumentFile;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TBaseDocumentFile : public System::TObject
{
	typedef System::TObject inherited;
	
private:
	System::WideString FFileName;
	bool FLoaded;
	int FMaxRowCount;
	
protected:
	virtual void __fastcall DoAfterLoad();
	virtual void __fastcall DoBeforeLoad();
	virtual void __fastcall DoLoad();
	virtual void __fastcall SetFileName(const System::WideString Value);
	virtual void __fastcall SetMaxRowCount(const int Value);
	
public:
	__fastcall virtual TBaseDocumentFile();
	void __fastcall Load();
	virtual void __fastcall Clear();
	__property bool Loaded = {read=FLoaded, nodefault};
	__property System::WideString FileName = {read=FFileName, write=SetFileName};
	__property int MaxRowCount = {read=FMaxRowCount, write=SetMaxRowCount, nodefault};
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TBaseDocumentFile() { }
	
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
static const System::Byte cBufferSize = System::Byte(0x80);
static const System::WideChar sDefaultXPath = (System::WideChar)(0x2f);
#define sFileNameNotDefined L"File name is not defined"
#define sFileNotFound L"File %s not found"
}	/* namespace Qimport3basedocumentfile */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_QIMPORT3BASEDOCUMENTFILE)
using namespace Qimport3basedocumentfile;
#endif
#pragma pack(pop)
#pragma option pop

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