summaryrefslogtreecommitdiff
path: root/include/swld.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swld.h')
-rw-r--r--include/swld.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/include/swld.h b/include/swld.h
index bc14ca0..397a0bc 100644
--- a/include/swld.h
+++ b/include/swld.h
@@ -1,10 +1,11 @@
/******************************************************************************
- * 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 2303 2009-04-06 13:38:34Z scribe $
+ * swld.h - code for base class 'SWLD'. SWLD is the basis for all
+ * types of Lexicon and Dictionary modules (hence the 'LD').
*
- * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
+ * $Id: swld.h 2833 2013-06-29 06:40:28Z chrislit $
+ *
+ * Copyright 1997-2013 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
* P. O. Box 2528
* Tempe, AZ 85280-2528
@@ -34,18 +35,19 @@ SWORD_NAMESPACE_START
*/
class SWDLLEXPORT SWLD : public SWModule {
protected:
- char *entkeytxt;
+ mutable char *entkeytxt;
static void strongsPad(char *buf);
+ bool strongsPadding;
public:
/** Initializes data for instance of SWLD
*/
SWLD(const char *imodname = 0, const char *imoddesc = 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 strongsPadding = true);
virtual ~SWLD();
- virtual SWKey *CreateKey() const;
+ virtual SWKey *createKey() const;
/** Sets/gets module KeyText, getting from saved text if key is persistent
*
@@ -53,7 +55,7 @@ public:
* [0] - only get
* @return pointer to keytext
*/
- virtual const char *KeyText(const char *ikeytext = 0);
+ virtual const char *getKeyText() const;
virtual void setPosition(SW_POSITION pos);