diff options
Diffstat (limited to 'include/swld.h')
-rw-r--r-- | include/swld.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/swld.h b/include/swld.h index 28d416b..bc14ca0 100644 --- a/include/swld.h +++ b/include/swld.h @@ -2,7 +2,7 @@ * swld.h - code for base class 'SWLD'. SWLD is the basis for all * types of Lexicon and Dictionary modules (hence the 'LD'). * - * $Id: swld.h 1864 2005-11-20 06:06:40Z scribe $ + * $Id: swld.h 2303 2009-04-06 13:38:34Z scribe $ * * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society @@ -35,6 +35,7 @@ SWORD_NAMESPACE_START class SWDLLEXPORT SWLD : public SWModule { protected: char *entkeytxt; + static void strongsPad(char *buf); public: /** Initializes data for instance of SWLD */ @@ -44,7 +45,7 @@ public: SWTextMarkup markup = FMT_UNKNOWN, const char* ilang = 0); virtual ~SWLD(); - virtual SWKey *CreateKey(); + virtual SWKey *CreateKey() const; /** Sets/gets module KeyText, getting from saved text if key is persistent * @@ -56,6 +57,12 @@ public: virtual void setPosition(SW_POSITION pos); + virtual long getEntryCount() const = 0; + virtual long getEntryForKey(const char *key) const = 0; + virtual char *getKeyForEntry(long entry) const = 0; + + virtual bool hasEntry(const SWKey *k) const; + // OPERATORS ----------------------------------------------------------------- SWMODULE_OPERATORS |