From daa67ff1f728c07f2a116ee9a9f4505479ca6808 Mon Sep 17 00:00:00 2001 From: danglassey Date: Wed, 14 Aug 2002 09:57:17 +0000 Subject: Initial import from crosswire CVS for syncing --- bindings/swig/sword.i | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 bindings/swig/sword.i (limited to 'bindings/swig/sword.i') diff --git a/bindings/swig/sword.i b/bindings/swig/sword.i new file mode 100644 index 0000000..1ae1f8a --- /dev/null +++ b/bindings/swig/sword.i @@ -0,0 +1,50 @@ +/** @mainpage +* This is the API documentation of the SWIG interface to Sword!
+* The interface contains the most useful classes of Sword to read, navigate and create/write modules. The SWIG intreface is interesting +* for all who want to write Perl/PHP/Phyton/Ruby/TCL/Java code using the Sword library.
+* My aim is to support all who do so much work for the Sword project (Troy, Chris and all the others) and to make their work more easy with the SWIG interface. +* The interface tries to use the function names of the Sword C++ API, but since operators are not (yet) supported in SWIG there are some additions to the functions, the operators can't be used.
+* Here are the basic classes you should know of: +* @ref SWMgr, SWModule, SWKey, VerseKey and SWConfig. +*/ + +%module sword +%{ +#undef bool +#undef assert +#undef LOCAL +#undef list +%} + +%include "swconfig.i" +%include "swmgr.i" +%include "swmodule.i" + +%include "swkey.i" +%include "versekey.i" +%include "listkey.i" +%include "treekey.i" +%include "treekeyidx.i" + +%include "localemgr.i" +%include "swfiltermgr.i" + +%include "swtext.i" +%include "rawtext.i" +%include "ztext.i" + +%include "swcom.i" +%include "rawcom.i" +%include "zcom.i" + +%include "swgenbook.i" +%include "rawgenbook.i" + +%include "swld.i" +%include "rawld.i" +%include "rawld4.i" +%include "zld.i" + +%include "swcompress.i" +%include "lzsscompress.i" +%include "zipcompress.i" -- cgit