You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2001/09/13 18:46:00 UTC
cvs commit: xml-xerces/c/src/util/Platforms/Tru64 Tru64PlatformUtils.cpp
knoaman 01/09/13 09:46:00
Modified: c/src/util/Platforms/Tru64 Tru64PlatformUtils.cpp
Log:
Patch: Xerces 1.5 w/ libWWW for Tru64 by Artur Klauser.
Revision Changes Path
1.3 +18 -2 xml-xerces/c/src/util/Platforms/Tru64/Tru64PlatformUtils.cpp
Index: Tru64PlatformUtils.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Platforms/Tru64/Tru64PlatformUtils.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Tru64PlatformUtils.cpp 2000/08/02 17:39:25 1.2
+++ Tru64PlatformUtils.cpp 2001/09/13 16:46:00 1.3
@@ -55,7 +55,7 @@
*/
/*
- * $Id: Tru64PlatformUtils.cpp,v 1.2 2000/08/02 17:39:25 aruna1 Exp $
+ * $Id: Tru64PlatformUtils.cpp,v 1.3 2001/09/13 16:46:00 knoaman Exp $
*/
// ---------------------------------------------------------------------------
@@ -105,6 +105,12 @@
#endif
+#if defined (XML_USE_NETACCESSOR_LIBWWW)
+#include <util/NetAccessors/libWWW/LibWWWNetAccessor.hpp>
+#elif defined (XML_USE_NETACCESSOR_SOCKET)
+#include <util/NetAccessors/Socket/SocketNetAccessor.hpp>
+#endif
+
// ---------------------------------------------------------------------------
// Local Methods
// ---------------------------------------------------------------------------
@@ -140,9 +146,19 @@
}
XMLNetAccessor* XMLPlatformUtils::makeNetAccessor()
+#if defined (XML_USE_NETACCESSOR_LIBWWW)
+{
+ return new LibWWWNetAccessor();
+}
+#elif defined (XML_USE_NETACCESSOR_SOCKET)
{
- return 0;
+ return new SocketNetAccessor();
}
+#else
+{
+ return 0;
+}
+#endif
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Platform init method
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org