⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmsuxlsprotect.hpp

📁 TMS Component Pack V5.0包含了超过 280 个为 Delphi 以及 C++Builder 设计的 TMS 生产控件
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Tmsuxlsprotect.pas' rev: 10.00

#ifndef TmsuxlsprotectHPP
#define TmsuxlsprotectHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Tmsuflxmessages.hpp>	// Pascal unit

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

namespace Tmsuxlsprotect
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TEncryptionData;
class DELPHICLASS TEncryptionEngine;
class PASCALIMPLEMENTATION TEncryptionEngine : public System::TObject 
{
	typedef System::TObject inherited;
	
protected:
	__fastcall TEncryptionEngine(void);
	
public:
	virtual bool __fastcall CheckHash(const WideString Password) = 0 ;
	virtual Tmsuflxmessages::ByteArray __fastcall Decode(const Tmsuflxmessages::ByteArray Data, const __int64 StreamPosition, const int StartPos, const int Count, const int RecordLen) = 0 ;
	virtual Tmsuflxmessages::ByteArray __fastcall Encode(const void *Data, const __int64 StreamPosition, const int StartPos, const int Count, const int RecordLen) = 0 /* overload */;
	virtual Word __fastcall Encode(const 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 Tmsuflxmessages::ByteArray __fastcall GetFilePassRecord(void) = 0 ;
	virtual int __fastcall GetFilePassRecordLen(void) = 0 ;
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TEncryptionEngine(void) { }
	#pragma option pop
	
};


class PASCALIMPLEMENTATION TEncryptionData : public System::TObject 
{
	typedef System::TObject inherited;
	
public:
	WideString ReadPassword;
	TEncryptionEngine* Engine;
	int ActualRecordLen;
	__fastcall TEncryptionData(const WideString aReadPassword, const System::TObject* aOnPassword, const System::TObject* aXls);
	int __fastcall TotalSize(void);
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TEncryptionData(void) { }
	#pragma option pop
	
};


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

}	/* namespace Tmsuxlsprotect */
using namespace Tmsuxlsprotect;
#pragma pack(pop)
#pragma option pop

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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -