aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/Delphi20/swordvc/SWKey.hpp
blob: 8a6c724c312ceafa9b930b9db65211fe657b7b15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//----------------------------------------------------------------------------
// SWKey.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: SWKey.pas
//----------------------------------------------------------------------------
#ifndef SWKeyHPP
#define SWKeyHPP
//----------------------------------------------------------------------------
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SwordAPI.hpp>
#include <System.hpp>
namespace Swkey
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TSWKey;
class __declspec(pascalimplementation) TSWKey : public Classes::TComponent
{
	typedef Classes::TComponent inherited;
	
protected:
	int hswkey;
	System::AnsiString KeyType;
	virtual void __fastcall Loaded(void);
	virtual System::AnsiString __fastcall GetText(void);
	virtual void __fastcall SetText( System::AnsiString itext);
	virtual bool __fastcall GetPersist(void);
	virtual void __fastcall SetPersist(bool ival);
	virtual int __fastcall GetSWHandle(void);
	virtual void __fastcall SetSWHandle(int ihandle);
	
public:
	__fastcall virtual TSWKey(Classes::TComponent* AOwner);
	__fastcall virtual ~TSWKey(void);
	virtual void __fastcall Initialize(void);
	__property System::AnsiString Text = {read=GetText, write=SetText, nodefault};
	__property bool Persist = {read=GetPersist, write=SetPersist, nodefault};
	virtual int __fastcall Error(void);
	__property int SWHandle = {read=GetSWHandle, write=SetSWHandle, nodefault};
	virtual void __fastcall Inc(void);
	virtual void __fastcall Dec(void);
};

//-- var, const, procedure ---------------------------------------------------
extern void __fastcall Register(void);

}	/* namespace Swkey */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Swkey;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// SWKey