aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/Delphi20/swordvc/SwordAPI.hpp
blob: 9c60d7082a6873a5e5d2774c752f6b9e1ebbc1f0 (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
58
59
60
61
62
63
//----------------------------------------------------------------------------
// SwordAPI.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: SwordAPI.pas
//----------------------------------------------------------------------------
#ifndef SwordAPIHPP
#define SwordAPIHPP
//----------------------------------------------------------------------------
#include <System.hpp>
namespace Swordapi
{
//-- type declarations -------------------------------------------------------
struct paramt
{
	char *path;
	char *name;
	char *disc;
} ;

typedef paramt *pparamt;

//-- var, const, procedure ---------------------------------------------------
#define DLLNAME "sword32.dll"
extern "C" int __stdcall NewModule(char * modtype, pparamt params);
extern "C" void __stdcall DeleteModule(int hmod);
extern "C" int __stdcall ModGetTextLen(int hmod);
extern "C" void __stdcall ModGetText(int hmod, char * buf, int size);
extern "C" void __stdcall ModGetKeyText(int hmod, char * buf, int size);
extern "C" int __stdcall ModGetKey(int hmod);
extern "C" char __stdcall ModSetKeyText(int hmod, char * keytext);
extern "C" char __stdcall ModSetKeyKey(int hmod, int hkey);
extern "C" int __stdcall ModSearch(int hmod, char * stext);
extern "C" void __stdcall YoYo(int x, int y);
extern "C" void __stdcall ModInc(int hmod);
extern "C" void __stdcall ModDec(int hmod);
extern "C" int __stdcall ModError(int hmod);
extern "C" int __stdcall NewKey(char * keytype);
extern "C" void __stdcall DeleteKey(int hkey);
extern "C" int __stdcall KeyGetPersist(int hkey);
extern "C" void __stdcall KeySetPersist(int hkey, int value);
extern "C" int __stdcall KeyError(int hkey);
extern "C" void __stdcall KeyGetText(int hkey, char * buf, int size);
extern "C" void __stdcall KeySetText(int hkey, char * keytext);
extern "C" void __stdcall KeySetKey(int hkey, int hkey2);
extern "C" void __stdcall KeyInc(int hkey);
extern "C" void __stdcall KeyDec(int hkey);
extern "C" int __stdcall VerseKeyGetTestament(int hkey);
extern "C" int __stdcall VerseKeyGetBook(int hkey);
extern "C" int __stdcall VerseKeyGetChapter(int hkey);
extern "C" int __stdcall VerseKeyGetVerse(int hkey);
extern "C" void __stdcall VerseKeySetTestament(int hkey, int value);
extern "C" void __stdcall VerseKeySetBook(int hkey, int value);
extern "C" void __stdcall VerseKeySetChapter(int hkey, int value);
extern "C" void __stdcall VerseKeySetVerse(int hkey, int value);
extern "C" int __stdcall VerseKeyGetAutoNormalize(int hkey);
extern "C" void __stdcall VerseKeySetAutoNormalize(int hkey, int value);
extern "C" void __stdcall VerseKeyNormalize(int hkey);

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