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

thmlvariants.h

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

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