summaryrefslogtreecommitdiff
path: root/include/utf8nfkd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utf8nfkd.h')
-rw-r--r--include/utf8nfkd.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/include/utf8nfkd.h b/include/utf8nfkd.h
index ccf9aab..f12562a 100644
--- a/include/utf8nfkd.h
+++ b/include/utf8nfkd.h
@@ -1,4 +1,6 @@
-/*
+/******************************************************************************
+ *
+ * $Id: utf8nfkd.h,v 1.6 2003/02/20 07:25:20 scribe Exp $
*
* Copyright 2001 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
@@ -15,7 +17,6 @@
* General Public License for more details.
*
*/
-#ifdef _ICU_
#ifndef UTF8NFKD_H
#define UTF8NFKD_H
@@ -27,20 +28,18 @@
#include <unicode/uchar.h>
#include <unicode/unorm.h>
-#include <defs.h>
+SWORD_NAMESPACE_START
-class SWDLLEXPORT UTF8NFKD : public SWFilter
-{
- private:
- UConverter* conv;
- UChar *source, *target;
- UErrorCode err;
- public:
- UTF8NFKD();
- ~UTF8NFKD();
- virtual char ProcessText (char *text, int maxlen, const SWKey * key, const SWModule * = 0);
+class SWDLLEXPORT UTF8NFKD : public SWFilter {
+private:
+ UConverter* conv;
+ UChar *source, *target;
+ UErrorCode err;
+public:
+ UTF8NFKD();
+ ~UTF8NFKD();
+ virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0);
};
-#endif
-
+SWORD_NAMESPACE_END
#endif