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

utf8nfkd.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 UTF8NFKD_H
00020 #define UTF8NFKD_H
00021 
00022 #include <swfilter.h>
00023 
00024 #include <unicode/utypes.h>
00025 #include <unicode/ucnv.h>
00026 #include <unicode/uchar.h>
00027 #include <unicode/unorm.h>
00028 
00029 #include <defs.h>
00030 SWORD_NAMESPACE_START
00031 
00032 class SWDLLEXPORT UTF8NFKD : public SWFilter
00033 {
00034  private:
00035   UConverter* conv;
00036   UChar *source, *target;
00037   UErrorCode err;
00038  public:
00039   UTF8NFKD();
00040   ~UTF8NFKD();  
00041   virtual char ProcessText (char *text, int maxlen, const SWKey * key, const SWModule * = 0);
00042 };
00043 
00044 SWORD_NAMESPACE_END
00045 #endif

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