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

// (DO NOT EDIT: machine generated header) 'FMX.UXlsProtect.pas' rev: 27.00 (Windows)

#ifndef Fmx_UxlsprotectHPP
#define Fmx_UxlsprotectHPP

#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 <FMX.UFlxMessages.hpp>	// Pascal unit

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

namespace Fmx
{
namespace Uxlsprotect
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TEncryptionData;
class DELPHICLASS TEncryptionEngine;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TEncryptionData : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	System::UnicodeString ReadPassword;
	TEncryptionEngine* Engine;
	int ActualRecordLen;
	__fastcall TEncryptionData(const System::UnicodeString aReadPassword, System::TObject* const aOnPassword, System::TObject* const aXls);
	int __fastcall TotalSize(void);
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TEncryptionData(void) { }
	
};

#pragma pack(pop)

#pragma pack(push,4)
class PASCALIMPLEMENTATION TEncryptionEngine : public System::TObject
{
	typedef System::TObject inherited;
	
protected:
	__fastcall TEncryptionEngine(void);
	
public:
	virtual bool __fastcall CheckHash(const System::UnicodeString Password) = 0 ;
	virtual Fmx::Uflxmessages::ByteArray __fastcall Decode(const Fmx::Uflxmessages::ByteArray Data, const __int64 StreamPosition, const int StartPos, const int Count, const int RecordLen) = 0 ;
	virtual Fmx::Uflxmessages::ByteArray __fastcall Encode(const void *Data, const __int64 StreamPosition, const int StartPos, const int Count, const int RecordLen) = 0 /* overload */;
	virtual System::Word __fastcall Encode(const System::Word Data, const __int64 StreamPosition, const int RecordLen) = 0 /* overload */;
	virtual unsigned __fastcall Encode(const unsigned Data, const __int64 StreamPosition, const int RecordLen) = 0 /* overload */;
	virtual Fmx::Uflxmessages::ByteArray __fastcall GetFilePassRecord(void) = 0 ;
	virtual int __fastcall GetFilePassRecordLen(void) = 0 ;
public:
	/* TObject.Destroy */ inline __fastcall virtual ~TEncryptionEngine(void) { }
	
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
}	/* namespace Uxlsprotect */
}	/* namespace Fmx */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FMX_UXLSPROTECT)
using namespace Fmx::Uxlsprotect;
#endif
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FMX)
using namespace Fmx;
#endif
#pragma pack(pop)
#pragma option pop

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