summaryrefslogtreecommitdiff
path: root/include/scsuutf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsuutf8.h')
-rw-r--r--include/scsuutf8.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/include/scsuutf8.h b/include/scsuutf8.h
index 4ff28da..1a7793a 100644
--- a/include/scsuutf8.h
+++ b/include/scsuutf8.h
@@ -1,5 +1,6 @@
-/*
+/******************************************************************************
*
+ * $Id: scsuutf8.h,v 1.4 2003/02/20 07:25:20 scribe Exp $
*
* Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
@@ -22,20 +23,18 @@
#include <swfilter.h>
-#include <defs.h>
+SWORD_NAMESPACE_START
- /** This filter converts SCSU compressed (encoded) text to UTF-8
- */
-class SWDLLEXPORT SCSUUTF8:public SWFilter {
- private:
- unsigned char* UTF8Output(unsigned long, unsigned char* text);
-
+/** This filter converts SCSU compressed (encoded) text to UTF-8
+ */
+class SWDLLEXPORT SCSUUTF8 : public SWFilter {
unsigned long c, d;
+ unsigned char* UTF8Output(unsigned long, unsigned char* text);
-
- public:
- SCSUUTF8();
- virtual char ProcessText (char *text, int maxlen, const SWKey *key, const SWModule * = 0);
+public:
+ SCSUUTF8();
+ virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0);
};
+SWORD_NAMESPACE_END
#endif