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

utf8greekaccents.h

00001 /*
00002  *
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 UTF8GREEKACCENTS_H
00021 #define UTF8GREEKACCENTS_H
00022 
00023 #include <swfilter.h>
00024 
00025 #include <defs.h>
00026 
00027 SWORD_NAMESPACE_START
00028 
00031 class SWDLLEXPORT UTF8GreekAccents:public SWFilter
00032 {
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     UTF8GreekAccents ();
00041     virtual ~ UTF8GreekAccents ();
00042   virtual char ProcessText (char *text, int maxlen, const SWKey * key, const SWModule * = 0);
00043   virtual const char *getOptionName ()
00044   {
00045     return optName;
00046   }
00047   virtual const char *getOptionTip ()
00048   {
00049     return optTip;
00050   }
00051   virtual void setOptionValue (const char *ival);
00052   virtual const char *getOptionValue ();
00053   virtual OptionsList getOptionValues ()
00054   {
00055     return options;
00056   }
00057 };
00058 
00059 SWORD_NAMESPACE_END
00060 #endif

Generated on Thu Oct 31 12:11:28 2002 for The Sword Project by doxygen1.2.17