Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

thmlmorph.h

00001 /*
00002  * $Id:
00003  *
00004  * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
00005  *      CrossWire Bible Society
00006  *      P. O. Box 2528
00007  *      Tempe, AZ  85280-2528
00008  *
00009  * This program is free software; you can redistribute it and/or modify it
00010  * under the terms of the GNU General Public License as published by the
00011  * Free Software Foundation version 2.
00012  *
00013  * This program is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * General Public License for more details.
00017  *
00018  */
00019 
00020 #ifndef THMLMORPH_H
00021 #define THMLMORPH_H
00022 
00023 #include <swfilter.h>
00024 
00025 #include <defs.h>
00026 
00029 class SWDLLEXPORT ThMLMorph:public SWFilter
00030 {
00031   bool option;
00032   static const char on[];
00033   static const char off[];
00034   static const char optName[];
00035   static const char optTip[];
00036   OptionsList options;
00037 public:
00038     ThMLMorph ();
00039     virtual ~ ThMLMorph ();
00040   virtual char ProcessText (char *text, int maxlen, const SWKey * key, const SWModule * = 0);
00041   virtual const char *getOptionName ()
00042   {
00043     return optName;
00044   }
00045   virtual const char *getOptionTip ()
00046   {
00047     return optTip;
00048   }
00049   virtual void setOptionValue (const char *ival);
00050   virtual const char *getOptionValue ();
00051   virtual OptionsList getOptionValues ()
00052   {
00053     return options;
00054   }
00055 };
00056 
00057 #endif

Generated on Thu Jun 20 22:13:01 2002 for The Sword Project by doxygen1.2.15