diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:53:52 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:53:52 -0400 |
commit | 148bd343f3e7e32d141f66b5b5c9b98b2975b0b3 (patch) | |
tree | 31078963b85110d57310759016e60e8d26ccb1e6 /include/rawverse.h | |
parent | 8c8aa6b07e595cfac56838b5964ab3e96051f1b2 (diff) |
Imported Upstream version 1.5.8
Diffstat (limited to 'include/rawverse.h')
-rw-r--r-- | include/rawverse.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/include/rawverse.h b/include/rawverse.h deleted file mode 100644 index a5f3d08..0000000 --- a/include/rawverse.h +++ /dev/null @@ -1,40 +0,0 @@ -/****************************************************************************** - * rawverse.h - code for class 'RawVerse'- a module that reads raw text - * files: ot and nt using indexs ??.bks ??.cps ??.vss - * and provides lookup and parsing functions based on - * class VerseKey - */ - -#ifndef RAWVERSE_H -#define RAWVERSE_H - -#include <filemgr.h> -#include <fcntl.h> - -#include <defs.h> -#include <swbuf.h> - -SWORD_NAMESPACE_START - -class SWDLLEXPORT RawVerse { - static int instance; // number of instantiated RawVerse objects or derivitives -protected: - FileDesc *idxfp[2]; - FileDesc *textfp[2]; - - char *path; - void prepText(SWBuf &buf); - void doSetText(char testmt, long idxoff, const char *buf, long len = -1); - void doLinkEntry(char testmt, long destidxoff, long srcidxoff); - -public: - static const char *nl; - RawVerse(const char *ipath, int fileMode = -1); - virtual ~RawVerse(); - void findOffset(char testmt, long idxoff, long *start, unsigned short *end); - void readText(char testmt, long start, unsigned short size, SWBuf &buf); - static char createModule(const char *path); -}; - -SWORD_NAMESPACE_END -#endif |