From 8c8aa6b07e595cfac56838b5964ab3e96051f1b2 Mon Sep 17 00:00:00 2001 From: "Roberto C. Sanchez" Date: Sat, 29 Mar 2014 10:53:49 -0400 Subject: Imported Upstream version 1.5.7 --- include/thmlstrongs.h | 42 +++++++++++------------------------------- 1 file changed, 11 insertions(+), 31 deletions(-) (limited to 'include/thmlstrongs.h') diff --git a/include/thmlstrongs.h b/include/thmlstrongs.h index 2b37d87..e07ed8e 100644 --- a/include/thmlstrongs.h +++ b/include/thmlstrongs.h @@ -1,6 +1,6 @@ -/* +/****************************************************************************** * - * $Id: + * $Id: thmlstrongs.h,v 1.5 2003/07/05 04:58:42 scribe Exp $ * * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society @@ -21,38 +21,18 @@ #ifndef THMLSTRONGS_H #define THMLSTRONGS_H -#include +#include -#include +SWORD_NAMESPACE_START - /** This Filter shows/hides strong's numbers in a ThML text - */ -class SWDLLEXPORT ThMLStrongs:public SWFilter -{ - bool option; - static const char on[]; - static const char off[]; - static const char optName[]; - static const char optTip[]; - OptionsList options; +/** This Filter shows/hides strong's numbers in a ThML text + */ +class SWDLLEXPORT ThMLStrongs : public SWOptionFilter { public: - ThMLStrongs (); - virtual ~ ThMLStrongs (); - virtual char ProcessText (char *text, int maxlen, const SWKey * key, const SWModule * = 0); - virtual const char *getOptionName () - { - return optName; - } - virtual const char *getOptionTip () - { - return optTip; - } - virtual void setOptionValue (const char *ival); - virtual const char *getOptionValue (); - virtual OptionsList getOptionValues () - { - return options; - } + ThMLStrongs(); + virtual ~ThMLStrongs(); + virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0); }; +SWORD_NAMESPACE_END #endif -- cgit v1.2.3