00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 #ifndef GBFSREDLETTERWORDS_H
00022 #define GBFREDLETTERWORDS_H
00023 
00024 #include <swfilter.h>
00025 
00026 SWORD_NAMESPACE_START
00027 
00032 class SWDLLEXPORT GBFRedLetterWords : public SWFilter {
00033         bool option;
00034         static const char on[];
00035         static const char off[];
00036         static const char optName[];
00037         static const char optTip[];
00038         OptionsList options;
00039 public:
00040         GBFRedLetterWords();
00041         virtual ~GBFRedLetterWords();
00042         virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule * = 0);
00043         virtual const char *getOptionName() { return optName; }
00044         virtual const char *getOptionTip() { return optTip; }
00045         virtual void setOptionValue (const char *ival);
00046         virtual const char *getOptionValue();
00047         virtual OptionsList getOptionValues() { return options; }
00048 };
00049 
00050 SWORD_NAMESPACE_END
00051 #endif