diff options
Diffstat (limited to 'apps/windoze/Delphi20/swordvc/SwordAPI.hpp')
-rw-r--r-- | apps/windoze/Delphi20/swordvc/SwordAPI.hpp | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/apps/windoze/Delphi20/swordvc/SwordAPI.hpp b/apps/windoze/Delphi20/swordvc/SwordAPI.hpp new file mode 100644 index 0000000..9c60d70 --- /dev/null +++ b/apps/windoze/Delphi20/swordvc/SwordAPI.hpp @@ -0,0 +1,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 |