diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-05-12 08:21:30 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-05-12 08:21:30 -0400 |
commit | 7a00574163029c0c2b649878c95d5acbd083564a (patch) | |
tree | c13cc5736025834df2874ed87ee8598070025ea6 /include/rawld4.h | |
parent | b745315323de9f27538edac9453205ca70e6186e (diff) |
Imported Upstream version 1.7.2+dfsg
Diffstat (limited to 'include/rawld4.h')
-rw-r--r-- | include/rawld4.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/rawld4.h b/include/rawld4.h index d0118df..cc2110b 100644 --- a/include/rawld4.h +++ b/include/rawld4.h @@ -1,10 +1,11 @@ /****************************************************************************** - * rawld.cpp - code for class 'RawLD'- a module that reads raw lexicon and - * dictionary files: *.dat *.idx * - * $Id: rawld4.h 2303 2009-04-06 13:38:34Z scribe $ + * rawld4.cpp - code for class 'RawLD4'- a module that reads raw + * lexicon and dictionary files: *.dat *.idx * - * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) + * $Id: rawld4.h 2833 2013-06-29 06:40:28Z chrislit $ + * + * Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society * P. O. Box 2528 * Tempe, AZ 85280-2528 @@ -31,7 +32,7 @@ SWORD_NAMESPACE_START class SWDLLEXPORT RawLD4 : public RawStr4, public SWLD { - char getEntry(long away = 0); + char getEntry(long away = 0) const; public: @@ -39,15 +40,15 @@ public: RawLD4(const char *ipath, const char *iname = 0, const char *idesc = 0, SWDisplay *idisp = 0, SWTextEncoding encoding = ENC_UNKNOWN, SWTextDirection dir = DIRECTION_LTR, - SWTextMarkup markup = FMT_UNKNOWN, const char *ilang = 0); + SWTextMarkup markup = FMT_UNKNOWN, const char *ilang = 0, bool caseSensitive = false, bool strongsPadding = true); virtual ~RawLD4(); - 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) { return RawStr4::createModule(path); } virtual void setEntry(const char *inbuf, long len = -1); // Modify current module entry |