aboutsummaryrefslogtreecommitdiffstats
path: root/include/utf16utf8.h
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-08-14 09:57:17 +0000
committerdanglassey <danglassey>2002-08-14 09:57:17 +0000
commitc9458897ebbb739d8db83c80e06512d8a612f743 (patch)
treef8c5381045887e34388cc6b26cfccc254bf766dc /include/utf16utf8.h
downloadsword-sf-cvs-c9458897ebbb739d8db83c80e06512d8a612f743.tar.gz
*** empty log message ***
Diffstat (limited to 'include/utf16utf8.h')
-rw-r--r--include/utf16utf8.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/utf16utf8.h b/include/utf16utf8.h
new file mode 100644
index 0000000..5481980
--- /dev/null
+++ b/include/utf16utf8.h
@@ -0,0 +1,35 @@
+/*
+ *
+ *
+ * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ */
+
+#ifndef UTF16UTF8_H
+#define UTF16UTF8_H
+
+#include <swfilter.h>
+
+#include <defs.h>
+
+ /** This filter converts UTF-16 encoded text to UTF-8
+ */
+class SWDLLEXPORT UTF16UTF8:public SWFilter {
+public:
+ UTF16UTF8();
+ virtual char ProcessText (char *text, int maxlen, const SWKey *key, const SWModule * = 0);
+};
+
+#endif