You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ro...@locus.apache.org on 2000/01/19 01:58:08 UTC
cvs commit: xml-xerces/c/src/util/Transcoders/ICU ICUTransService.cpp ICUTransService.hpp
roddey 00/01/18 16:58:07
Modified: c/src/util/Transcoders/ICU ICUTransService.cpp
ICUTransService.hpp
Log:
Update to support new ICU 1.4 release.
Revision Changes Path
1.7 +10 -15 xml-xerces/c/src/util/Transcoders/ICU/ICUTransService.cpp
Index: ICUTransService.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Transcoders/ICU/ICUTransService.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ICUTransService.cpp 1999/12/18 00:22:32 1.6
+++ ICUTransService.cpp 2000/01/19 00:58:07 1.7
@@ -56,6 +56,9 @@
/**
* $Log: ICUTransService.cpp,v $
+ * Revision 1.7 2000/01/19 00:58:07 roddey
+ * Update to support new ICU 1.4 release.
+ *
* Revision 1.6 1999/12/18 00:22:32 roddey
* Changes to support the new, completely orthagonal, transcoder architecture.
*
@@ -88,20 +91,12 @@
#include <util/TranscodingException.hpp>
#include "ICUTransService.hpp"
#include <string.h>
-#include <uloc.h>
-#include <unicode.h>
-#include <ucnv.h>
-#include <ustring.h>
-
+#include <unicode/uloc.h>
+#include <unicode/unicode.h>
+#include <unicode/ucnv.h>
+#include <unicode/ustring.h>
-// ---------------------------------------------------------------------------
-// ICUTransService: Public, static methods
-// ---------------------------------------------------------------------------
-void ICUTransService::setICUPath(const char* const pathToSet)
-{
- uloc_setDataDirectory(pathToSet);
-}
// ---------------------------------------------------------------------------
@@ -200,9 +195,9 @@
XMLLCPTranscoder* ICUTransService::makeNewLCPTranscoder()
{
//
- // Try to create a default converter. If it fails, return a null pointer
- // which will basically cause the system to give up because we really can't
- // do anything without one.
+ // Try to create a default converter. If it fails, return a null
+ // pointer which will basically cause the system to give up because
+ // we really can't do anything without one.
//
UErrorCode uerr = U_ZERO_ERROR;
UConverter* converter = ucnv_open(NULL, &uerr);
1.4 +3 -6 xml-xerces/c/src/util/Transcoders/ICU/ICUTransService.hpp
Index: ICUTransService.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Transcoders/ICU/ICUTransService.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ICUTransService.hpp 1999/12/18 00:22:32 1.3
+++ ICUTransService.hpp 2000/01/19 00:58:07 1.4
@@ -56,6 +56,9 @@
/**
* $Log: ICUTransService.hpp,v $
+ * Revision 1.4 2000/01/19 00:58:07 roddey
+ * Update to support new ICU 1.4 release.
+ *
* Revision 1.3 1999/12/18 00:22:32 roddey
* Changes to support the new, completely orthagonal, transcoder architecture.
*
@@ -82,12 +85,6 @@
class XMLUTIL_EXPORT ICUTransService : public XMLTransService
{
public :
- // -----------------------------------------------------------------------
- // Public, static methods
- // -----------------------------------------------------------------------
- static void setICUPath(const char* const pathToSet);
-
-
// -----------------------------------------------------------------------
// Constructors and Destructor
// -----------------------------------------------------------------------