]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/samples/layout/ucreader.cpp
ICU-400.37.tar.gz
[apple/icu.git] / icuSources / samples / layout / ucreader.cpp
diff --git a/icuSources/samples/layout/ucreader.cpp b/icuSources/samples/layout/ucreader.cpp
new file mode 100644 (file)
index 0000000..bc92841
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+ *
+ * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
+ *
+ */
+
+#include "unicode/utypes.h"
+
+#include "ucreader.h"
+#include "gsupport.h"
+#include "UnicodeReader.h"
+
+U_CDECL_BEGIN
+
+const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount)
+{
+    return UnicodeReader::readFile(fileName, (GUISupport *) guiSupport, *charCount);
+}
+
+U_CDECL_END