summaryrefslogtreecommitdiff
path: root/include/utf8nfkd.h
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:49 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:49 -0400
commit8c8aa6b07e595cfac56838b5964ab3e96051f1b2 (patch)
treeda38e2c1979148dbd3b0c7b87f930746f5ba7f44 /include/utf8nfkd.h
parent8d3fc864d094eeadc721f8e93436b37a5fab173e (diff)
Imported Upstream version 1.5.7
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