diff options
Diffstat (limited to 'include/zcom.h')
-rw-r--r-- | include/zcom.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/zcom.h b/include/zcom.h index 90132d5..560b650 100644 --- a/include/zcom.h +++ b/include/zcom.h @@ -1,10 +1,11 @@ /****************************************************************************** - * zcom.h - code for class 'zCom'- a module that reads compressed text - * files: ot and nt using indexs ??.vss * - * $Id: zcom.h 2303 2009-04-06 13:38:34Z scribe $ + * zcom.h - code for class 'zCom'- a module that reads compressed text + * files: ot and nt using indexs ??.vss * - * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) + * $Id: zcom.h 2833 2013-06-29 06:40:28Z chrislit $ + * + * Copyright 1996-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society * P. O. Box 2528 * Tempe, AZ 85280-2528 @@ -45,12 +46,12 @@ public: SWTextMarkup markup = FMT_UNKNOWN, const char *ilang = 0, const char *versification = "KJV"); virtual ~zCom(); - virtual SWBuf &getRawEntryBuf(); + virtual SWBuf &getRawEntryBuf() const; virtual void increment(int steps = 1); virtual void decrement(int steps = 1) { increment(-steps); } // write interface ---------------------------- - virtual bool isWritable(); + virtual bool isWritable() const; static char createModule(const char *path, int blockBound, const char *v11n = "KJV") { return zVerse::createModule(path, blockBound, v11n); } @@ -59,7 +60,7 @@ public: virtual void deleteEntry(); // Delete current module entry // end write interface ------------------------ - virtual void rawZFilter(SWBuf &buf, char direction = 0) { rawFilter(buf, (SWKey *)(long)direction); }// hack, use key as direction for enciphering + virtual void rawZFilter(SWBuf &buf, char direction = 0) const { rawFilter(buf, (SWKey *)(long)direction); }// hack, use key as direction for enciphering // swcacher interface ---------------------- virtual void flush() { flushCache(); } |