summaryrefslogtreecommitdiff
path: root/include/ztext.h
diff options
context:
space:
mode:
authorDaniel Glassey <wdg@debian.org>2015-09-07 11:14:57 +0100
committerDaniel Glassey <wdg@debian.org>2015-09-07 11:14:57 +0100
commit7b6c8b08e9d29332dcd0a1029e7421334bfb6f61 (patch)
treedc263ee8b6c923716a8e0fed64756b7af1238dc7 /include/ztext.h
parent7a00574163029c0c2b649878c95d5acbd083564a (diff)
Imported Upstream version 1.7.3+dfsg
Diffstat (limited to 'include/ztext.h')
-rw-r--r--include/ztext.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/ztext.h b/include/ztext.h
index c8855c9..4bdcc8d 100644
--- a/include/ztext.h
+++ b/include/ztext.h
@@ -3,7 +3,7 @@
* ztext.h - code for class 'zText'- a module that reads compressed text
* files: ot and nt using indexs ??.vss
*
- * $Id: ztext.h 2833 2013-06-29 06:40:28Z chrislit $
+ * $Id: ztext.h 3176 2014-04-17 04:22:36Z greg.hellings $
*
* Copyright 1996-2013 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
@@ -49,9 +49,7 @@ class SWDLLEXPORT zText:public zVerse, public SWText {
bool sameBlock(VerseKey * lastWriteKey, VerseKey * key);
int blockType;
-
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,
@@ -65,16 +63,16 @@ public:
virtual void increment(int steps = 1);
virtual void decrement(int steps = 1) { increment(-steps); }
- // write interface ----------------------------
+ // write interface ----------------------------
virtual bool isWritable() const;
static char createModule(const char *path, int blockBound, const char *v11n = "KJV") {
return zVerse::createModule(path, blockBound, v11n);
}
- virtual void setEntry(const char *inbuf, long len = -1); // Modify current module entry
- virtual void linkEntry(const SWKey *linkKey); // Link current module entry to other module entry
+ virtual void setEntry(const char *inbuf, long len = -1); // Modify current module entry
+ virtual void linkEntry(const SWKey *linkKey); // Link current module entry to other module entry
virtual void deleteEntry(); // Delete current module entry
- // end write interface ------------------------
+ // end write interface ------------------------
virtual void rawZFilter(SWBuf &buf, char direction = 0) const { rawFilter(buf, (SWKey *)(long)direction); }// hack, use key as direction for enciphering
@@ -86,7 +84,6 @@ public:
virtual bool hasEntry(const SWKey *k) const;
SWMODULE_OPERATORS
-
};
SWORD_NAMESPACE_END