tng 2002/11/05 14:10:06
Modified: c/tools/NLS/Xlat Xlat.hpp Xlat_ErrHandler.hpp
Log:
Explicit code using namespace in application.
Revision Changes Path
1.8 +5 -1 xml-xerces/c/tools/NLS/Xlat/Xlat.hpp
Index: Xlat.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tools/NLS/Xlat/Xlat.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Xlat.hpp 30 Sep 2002 22:09:58 -0000 1.7
+++ Xlat.hpp 5 Nov 2002 22:10:06 -0000 1.8
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.8 2002/11/05 22:10:06 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.7 2002/09/30 22:09:58 peiyongz
* To generate icu resource file (in text) for error message.
*
@@ -86,7 +89,6 @@
*
*/
-
// ---------------------------------------------------------------------------
// Some globally used types
// ---------------------------------------------------------------------------
@@ -118,6 +120,8 @@
#include "Xlat_Win32RC.hpp"
#include "Xlat_MsgCatalog.hpp"
#include "Xlat_ICUResourceBundle.hpp"
+
+XERCES_CPP_NAMESPACE_USE
// ---------------------------------------------------------------------------
1.5 +18 -13 xml-xerces/c/tools/NLS/Xlat/Xlat_ErrHandler.hpp
Index: Xlat_ErrHandler.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tools/NLS/Xlat/Xlat_ErrHandler.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Xlat_ErrHandler.hpp 1 Feb 2002 23:48:37 -0000 1.4
+++ Xlat_ErrHandler.hpp 5 Nov 2002 22:10:06 -0000 1.5
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
+ * notice, this list of conditions and the following disclaimer.
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- *
+ *
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
- *
+ *
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache\@apache.org.
- *
+ *
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
- *
+ *
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -45,7 +45,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
- *
+ *
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation, and was
* originally based on software copyright (c) 1999, International
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/05 22:10:06 tng
+ * Explicit code using namespace in application.
+ *
* Revision 1.4 2002/02/01 23:48:37 peiyongz
* sane_include
*
@@ -78,6 +81,8 @@
#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/sax/ErrorHandler.hpp>
+XERCES_CPP_NAMESPACE_USE
+
class XlatErrHandler : public ErrorHandler
{
public:
@@ -90,7 +95,7 @@
~XlatErrHandler()
{
- }
+ }
// -----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]