diff options
Diffstat (limited to 'bindings/swig/ztext.i')
-rw-r--r-- | bindings/swig/ztext.i | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bindings/swig/ztext.i b/bindings/swig/ztext.i new file mode 100644 index 0000000..ee3e2f2 --- /dev/null +++ b/bindings/swig/ztext.i @@ -0,0 +1,13 @@ +%{ +#include "ztext.h" +using namespace sword; +%} + +class zText : public SWText { +public: + zText(const char *ipath, const char *iname = 0, const char *idesc = 0, int blockType = CHAPTERBLOCKS, SWCompress * icomp = 0, SWDisplay * idisp = 0, SWTextEncoding encoding = ENC_UNKNOWN, SWTextDirection dir = DIRECTION_LTR, SWTextMarkup markup = FMT_UNKNOWN, const char* ilang = 0); + virtual ~zText (); + + static char createModule (const char *path, int blockBound); +}; + |