summaryrefslogtreecommitdiff
path: root/apps/windoze/bcowl25
diff options
context:
space:
mode:
Diffstat (limited to 'apps/windoze/bcowl25')
-rw-r--r--apps/windoze/bcowl25/swordapi/Sword16.idebin33578 -> 0 bytes
-rw-r--r--apps/windoze/bcowl25/swordapi/Sword32.idebin52746 -> 0 bytes
-rw-r--r--apps/windoze/bcowl25/swordapi/Sword32cg.idebin73908 -> 0 bytes
-rw-r--r--apps/windoze/bcowl25/swordapi/Swordapi.cpp334
-rw-r--r--apps/windoze/bcowl25/swordapi/mods.conf66
-rw-r--r--apps/windoze/bcowl25/swordapi/swordapi.h60
6 files changed, 0 insertions, 460 deletions
diff --git a/apps/windoze/bcowl25/swordapi/Sword16.ide b/apps/windoze/bcowl25/swordapi/Sword16.ide
deleted file mode 100644
index 58c6c0f..0000000
--- a/apps/windoze/bcowl25/swordapi/Sword16.ide
+++ /dev/null
Binary files differ
diff --git a/apps/windoze/bcowl25/swordapi/Sword32.ide b/apps/windoze/bcowl25/swordapi/Sword32.ide
deleted file mode 100644
index 065ea6b..0000000
--- a/apps/windoze/bcowl25/swordapi/Sword32.ide
+++ /dev/null
Binary files differ
diff --git a/apps/windoze/bcowl25/swordapi/Sword32cg.ide b/apps/windoze/bcowl25/swordapi/Sword32cg.ide
deleted file mode 100644
index e06a116..0000000
--- a/apps/windoze/bcowl25/swordapi/Sword32cg.ide
+++ /dev/null
Binary files differ
diff --git a/apps/windoze/bcowl25/swordapi/Swordapi.cpp b/apps/windoze/bcowl25/swordapi/Swordapi.cpp
deleted file mode 100644
index 92579ab..0000000
--- a/apps/windoze/bcowl25/swordapi/Swordapi.cpp
+++ /dev/null
@@ -1,334 +0,0 @@
-/******************************************************************************
- * swordapi.cpp - This file contains an api usable by non-C++ windows
- * environments
- */
-
-#define STRICT
-#include <windows.h>
-#pragma hdrstop
-
-#include <string.h>
-#include <stdio.h>
-
-#include <rawtext.h>
-#include <rawcom.h>
-#include <rawld.h>
-#include <strkey.h>
-#include <listkey.h>
-#include <versekey.h>
-#include <swmgr.h>
-
-#include "swordapi.h"
-
-
-SWMgr mainmgr;
-
-// Just a function to check to see if DLL is getting called correctly
-void _export PASCAL YoYo(int x, int y)
-{
- char buf[4096];
-
- sprintf(buf, "p1: %d; p2: %d", x, y);
- MessageBox(GetFocus(), buf, "Yo", MB_OK);
-}
-
-
-int _export PASCAL NewModule(char FAR *type, void *iparams)
-{
- SWModule *rval;
-
- if (!type || !iparams)
- return 0;
-
- struct rawtextparams {
- char FAR *dir;
- char FAR *name;
- char FAR *desc;
- } *params = (struct rawtextparams *)iparams;
-
- struct rawcomparams {
- char FAR *dir;
- char FAR *name;
- char FAR *desc;
- };
-
- struct rawldparams {
- char FAR *dirfile;
- char FAR *name;
- char FAR *desc;
- };
-
- if (!stricmp(type, "RawText")) {
- rval = new RawText(((struct rawtextparams *)params)->dir,
- ((struct rawtextparams *)params)->name,
- ((struct rawtextparams *)params)->desc);
- }
- if (!stricmp(type, "RawCom")) {
- rval = new RawCom (((struct rawcomparams *)params)->dir,
- ((struct rawcomparams *)params)->name,
- ((struct rawcomparams *)params)->desc);
- }
- if (!stricmp(type, "RawLD")) {
- rval = new RawLD (((struct rawldparams *)params)->dirfile,
- ((struct rawldparams *)params)->name,
- ((struct rawldparams *)params)->desc);
- }
-
- return (int)rval;
-}
-
-
-void _export PASCAL DeleteModule(SWModule FAR *hmod)
-{
- if (hmod)
- delete hmod;
-}
-
-
-char _export PASCAL ModSetKeyText(SWModule FAR *mod, char FAR *key)
-{
- return mod->SetKey(key);
-}
-
-
-char _export PASCAL ModSetKeyKey(SWModule FAR *mod, SWKey FAR *key)
-{
- return mod->SetKey(*key);
-}
-
-
-int _export PASCAL ModGetTextLen(SWModule FAR *mod)
-{
- return strlen((char *)*mod);
-}
-
-
-void _export PASCAL ModGetText(SWModule FAR *mod, char FAR *buf, int size)
-{
- memset(buf, 0, size);
- strncpy(buf, (char *)*mod, size - 1);
-}
-
-
-void _export PASCAL ModGetKeyText(SWModule FAR *mod, char FAR *buf, int size)
-{
- memset(buf, 0, size);
- strncpy(buf, (char *)(SWKey)*mod, size - 1);
-}
-
-
-int _export PASCAL ModGetKey(SWModule FAR *mod)
-{
- SWKey *retval;
-
- retval = &((SWKey)*mod);
- return (int) retval;
-}
-
-
-void _export PASCAL ModInc(SWModule FAR *mod)
-{
- (*mod)++;
-}
-
-
-void _export PASCAL ModDec(SWModule FAR *mod)
-{
- (*mod)--;
-}
-
-
-int _export PASCAL ModSearch(SWModule FAR *mod, char FAR *stext)
-{
- ListKey *retval;
-
- retval = &(mod->Search(stext));
- return (int) retval;
-}
-
-
-int _export PASCAL ModError(SWModule FAR *mod)
-{
- return (int)mod->Error();
-}
-
-
-/******************************************************************************
- * Key routines
- */
-
-int _export PASCAL NewKey(char FAR *type)
-{
- SWKey *rval = 0;
-
- if (!type)
- return 0;
-
- if (!stricmp(type, "VerseKey")) {
- rval = new VerseKey();
- }
- if (!stricmp(type, "StrKey")) {
- rval = new StrKey();
- }
- if (!stricmp(type, "ListKey")) {
- rval = new ListKey();
- }
- return (int)rval;
-}
-
-
-void _export PASCAL DeleteKey(SWKey FAR *hkey)
-{
- if (hkey)
- delete hkey;
-}
-
-
-void _export PASCAL KeySetPersist(SWKey *hkey, int ipersist)
-{
- hkey->Persist((char)ipersist);
-}
-
-
-int _export PASCAL KeyGetPersist(SWKey *hkey)
-{
- return hkey->Persist();
-}
-
-
-int _export PASCAL KeyError(SWKey *hkey)
-{
- return (int)hkey->Error();
-}
-
-
-void _export PASCAL KeyGetText(SWKey FAR *hkey, char FAR *buf, int size)
-{
- memset(buf, 0, size);
- strncpy(buf, (char *)*hkey, size - 1);
-}
-
-
-void _export PASCAL KeySetText(SWKey FAR *hkey, char FAR *buf)
-{
- (*hkey) = buf;
-}
-
-
-void _export PASCAL KeySetKey(SWKey FAR *hkey, SWKey FAR *skey)
-{
- (*hkey) = (*skey);
-}
-
-void _export PASCAL KeyInc(SWKey FAR *hkey)
-{
- (*hkey)++;
-}
-
-
-void _export PASCAL KeyDec(SWKey FAR *hkey)
-{
- (*hkey)--;
-}
-
-
-
-//-------- VerseKey specifics ----------------
-
-int _export PASCAL VerseKeyGetTestament(VerseKey *hkey)
-{
- return (int)hkey->Testament();
-}
-
-
-int _export PASCAL VerseKeyGetBook(VerseKey *hkey)
-{
- return (int)hkey->Book();
-}
-
-
-int _export PASCAL VerseKeyGetChapter(VerseKey *hkey)
-{
- return (int)hkey->Chapter();
-}
-
-
-int _export PASCAL VerseKeyGetVerse(VerseKey *hkey)
-{
- return (int)hkey->Verse();
-}
-
-
-void _export PASCAL VerseKeySetTestament(VerseKey *hkey, int val)
-{
- hkey->Testament(val);
-}
-
-
-void _export PASCAL VerseKeySetBook(VerseKey *hkey, int val)
-{
- hkey->Book(val);
-}
-
-
-void _export PASCAL VerseKeySetChapter(VerseKey *hkey, int val)
-{
- hkey->Chapter(val);
-}
-
-
-void _export PASCAL VerseKeySetVerse(VerseKey *hkey, int val)
-{
- hkey->Verse(val);
-}
-
-
-void _export PASCAL VerseKeyNormalize(VerseKey *hkey)
-{
- hkey->Normalize();
-}
-
-
-void _export PASCAL VerseKeySetAutoNormalize(VerseKey *hkey, int val)
-{
- hkey->AutoNormalize(val);
-}
-
-
-int _export PASCAL VerseKeyGetAutoNormalize(VerseKey *hkey)
-{
- return hkey->AutoNormalize();
-}
-
-
-// Turn off warning: Parameter '' is never used
-#pragma argsused
-
-#if defined(__FLAT__)
-BOOL WINAPI DllEntryPoint( HINSTANCE hinstDll,
- DWORD fdwRreason,
- LPVOID plvReserved)
-{
-#else /* not flat model */
-int FAR PASCAL LibMain( HINSTANCE hInstance,
- WORD wDataSegment,
- WORD wHeapSize,
- LPSTR lpszCmdLine )
-
-// The startup code for the DLL initializes the local heap(if there is one)
-// with a call to LocalInit which locks the data segment.
-{
- if ( wHeapSize != 0 )
- UnlockData( 0 );
-#endif /* ! __FLAT__ */
- return 1; // Indicate that the DLL was initialized successfully.
-}
-
-// Turn off warning: Parameter '' is never used
-#pragma argsused
-
-int FAR PASCAL WEP ( int bSystemExit )
-{
- return 1;
-}
-
diff --git a/apps/windoze/bcowl25/swordapi/mods.conf b/apps/windoze/bcowl25/swordapi/mods.conf
deleted file mode 100644
index b902988..0000000
--- a/apps/windoze/bcowl25/swordapi/mods.conf
+++ /dev/null
@@ -1,66 +0,0 @@
-[Globals]
-AutoInstall=./newmods/
-
-[Websters]
-DataPath=./modules/texts/rawtext/websters/
-ModDrv=RawText
-Description=The Webster Bible
-About= -=+* see the files 'intro.txt' and 'revision.txt' for more details *+=-\par\par \
-\qc THE \par HOLY BIBLE, \par CONTAINING THE \par OLD AND NEW TESTAMENTS, \par IN THE \par \
-COMMON VERSION. \par WITH \par AMENDMENTS OF THE LANGUAGE, \par \
-BY NOAH WEBSTER, LL. D. \par\par ------------- \par NEW HAVEN: \par \
-PUBLISHED BY DURRIE & PECK. \par \
-Sold by HEZEKIAH HOWE & CO., and A. H. MALTBY, New Haven; \par \
-and by N.&J. WHITE, New York. \par\par ------ \par 1833 \par\par \
-Webster Bible Electronic Format.\par \
-PUBLIC DOMAIN\par\par \
-February 1992\par\par\pard \
-Webster Biography:\par \
-Noah Webster: America's first grammarian and founding father of American education.\par\par \
- In 1828 Noah Webster published the 'American Dictionary of the English Language'. This \
-dictionary demonstrates the Christian values which were found in America's educational \
-and scholarly systems. It is from this early dictionary that we have todays popular \
-'Webster Dictionary'. In 1833 Noah Webster, who had mastered 20 languages including \
-Hebrew and Greek, published the King James Authorized Version 'with amendments to the \
-language'. In stating his reasons for producing this version of the Bible, Webster said:\par\par \
- 'In the present version, the language is, in general, correct and perspicuous; \
-... in many passages uniting sublimity with beautiful simplicity. In my view, the general \
-style of the version ought not to be altered. But, in the lapse of two or three centuries, \
-changes have taken place, which, in particular passages, impair the beauty; in others, \
-obscure the sense, of the original languages. ... they do not present to the reader \
-the Word of God. ... My principal aim is to remedy this evil.'\par\par \
-It was with cautious reverence that Webster corrected misused grammar, removed offensive \
-terms and expressions, and substituted commonly understood words for words that had fallen \
-into disuse, or no longer carried the same meaning.\par\par\
- In 1834, the year after completing the Webster Bible, Noah Webster wrote a \
-companion piece titled 'Value of the Bible and Excellence of the Christian Religion - For \
-the Use of Families and Schools'.\par\par\
- Webster, who was considered 'The schoolmaster to a nation' and produced the \
-earliest spellers and textbooks for America's school children, believed Christian religious \
-values and American public education to be inseparable. He believed the Webster Bible to \
-be 'the most important enterprise' of his life, and referred to the Bible as:\par\par \
- '... the chief moral cause of all that is good, and the best corrector of all that \
-is evil, in human society; the best book for regulating the temporal concerns of men, and \
-the only book that can serve as an infallible guide to future felicity.'\par\par \
-Introduction to the Electronic Format:\par \
- Beginning in July of 1991 the task of placing the Webster Bible text in electronic \
-format began. The original purpose was to provide Larry Pierce, who produces the \
-On-Line Bible program, with a more modern *public domain* text, similar in content and \
-style to the AV but with a grammar that would provide better comprehension in todays \
-English.\par\par\
- I plan on maintaining an accurate copy of the Webster text. Anyone finding an \
-error should contact me; Anyone desiring to obtain the latest, most correct text, can find \
-it on the Bible Foundation BBS, or can contact me in the following methods:\par \
- Internet acus10@waccvm.corp.mot.com\par \
- Home phone 602-829-8542\par \
- Address Mark Fuller\par \
- 1129 East Loyola Drive\par \
- Tempe Arizona, 85282\par \
- Bible Foundation http://www.bf.org\par\par \
- I would like to thank the Bible Foundation not only for scanning nearly the entire \
-Webster Bible but for encouraging me to undertake this monumental work; particularly around \
-page 20 when I realized what I had gotten myself into. Special thanks to Jerry Kingery of \
-the Bible Foundation for scanning, and Jerry Hastings for doing some preliminary scan \
-cleaning and making the texts available on the BBS.
-
-
diff --git a/apps/windoze/bcowl25/swordapi/swordapi.h b/apps/windoze/bcowl25/swordapi/swordapi.h
deleted file mode 100644
index 5206f51..0000000
--- a/apps/windoze/bcowl25/swordapi/swordapi.h
+++ /dev/null
@@ -1,60 +0,0 @@
-#ifndef SWORDAPI_H
-#define SWORDAPI_H
-
-#include <swmodule.h>
-#include <swkey.h>
-#include <versekey.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-void _export PASCAL YoYo(int x, int y);
-int _export PASCAL NewModule(char FAR *type, void *iparams);
-void _export PASCAL DeleteModule(SWModule FAR *mod);
-char _export PASCAL ModSetKeyText(SWModule FAR *mod, char FAR *key);
-char _export PASCAL ModSetKeyKey(SWModule FAR *mod, SWKey FAR *key);
-int _export PASCAL ModGetTextLen(SWModule FAR *mod);
-void _export PASCAL ModGetText(SWModule FAR *mod, char FAR *buf, int size);
-void _export PASCAL ModGetKeyText(SWModule FAR *mod, char FAR *buf, int size);
-int _export PASCAL ModGetKey(SWModule FAR *mod);
-void _export PASCAL ModInc(SWModule FAR *mod);
-void _export PASCAL ModDec(SWModule FAR *mod);
-int _export PASCAL ModSearch(SWModule FAR *mod, char FAR *stext);
-int _export PASCAL ModError(SWModule FAR *mod);
-
-
-/******************************************************************************
- * Key routines
- */
-
-int _export PASCAL NewKey(char FAR *type);
-void _export PASCAL DeleteKey(SWKey FAR *hkey);
-void _export PASCAL KeySetPersist(SWKey *hkey, int ipersist);
-int _export PASCAL KeyGetPersist(SWKey *hkey);
-int _export PASCAL KeyError(SWKey *hkey);
-void _export PASCAL KeyGetText(SWKey FAR *hkey, char FAR *buf, int size);
-void _export PASCAL KeySetText(SWKey FAR *hkey, char FAR *buf);
-void _export PASCAL KeySetKey(SWKey FAR *hkey, SWKey FAR *skey);
-void _export PASCAL KeyInc(SWKey FAR *hkey);
-void _export PASCAL KeyDec(SWKey FAR *hkey);
-
-
-//-------- VerseKey specifics ----------------
-
-int _export PASCAL VerseKeyGetTestament(VerseKey *hkey);
-int _export PASCAL VerseKeyGetBook(VerseKey *hkey);
-int _export PASCAL VerseKeyGetChapter(VerseKey *hkey);
-int _export PASCAL VerseKeyGetVerse(VerseKey *hkey);
-void _export PASCAL VerseKeySetTestament(VerseKey *hkey, int val);
-void _export PASCAL VerseKeySetBook(VerseKey *hkey, int val);
-void _export PASCAL VerseKeySetChapter(VerseKey *hkey, int val);
-void _export PASCAL VerseKeySetVerse(VerseKey *hkey, int val);
-void _export PASCAL VerseKeyNormalize(VerseKey *hkey);
-void _export PASCAL VerseKeySetAutoNormalize(VerseKey *hkey, int val);
-int _export PASCAL VerseKeyGetAutoNormalize(VerseKey *hkey);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif