summaryrefslogtreecommitdiff
path: root/include/ztext.h
diff options
context:
space:
mode:
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