diff --git a/src/xercesc/util/TransService.hpp b/src/xercesc/util/TransService.hpp index 0e7edff6562ec30ed7f5423edb7827df23b8f55a..a74b966055340dd3a885b9c50ef96d557a9b8c78 100644 --- a/src/xercesc/util/TransService.hpp +++ b/src/xercesc/util/TransService.hpp @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.5 2002/11/25 21:27:52 tng + * Performance: use XMLRecognizer::Encodings enum to make new transcode, faster than comparing the encoding string every time. + * * Revision 1.4 2002/11/04 15:22:04 tng * C++ Namespace Support. * @@ -130,6 +133,7 @@ #define TRANSSERVICE_HPP #include <xercesc/util/XercesDefs.hpp> +#include <xercesc/framework/XMLRecognizer.hpp> XERCES_CPP_NAMESPACE_BEGIN @@ -195,6 +199,13 @@ public : , const unsigned int blockSize ); + XMLTranscoder* makeNewTranscoderFor + ( + XMLRecognizer::Encodings encodingEnum + , XMLTransService::Codes& resValue + , const unsigned int blockSize + ); + // ----------------------------------------------------------------------- // The virtual transcoding service API