XmlEscape: fix visibility
authorMichael Andres <ma@suse.de>
Tue, 8 May 2012 12:39:32 +0000 (14:39 +0200)
committerMichael Andres <ma@suse.de>
Tue, 8 May 2012 12:39:32 +0000 (14:39 +0200)
zypp/parser/xml/XmlEscape.cc
zypp/parser/xml/XmlEscape.h

index 23fe967..8994561 100644 (file)
@@ -10,7 +10,8 @@
  *
 */
 
-#include<string>
+#include <string>
+#include "zypp/parser/xml/XmlEscape.h"
 
 /*
 IoBind Library License:
@@ -34,7 +35,7 @@ namespace iobind
   ///////////////////////////////////////////////////////////////////
   namespace parser
   {
-    struct xml_escape_parser
+    struct ZYPP_LOCAL xml_escape_parser
     {
       std::string escape(const std::string &istr) const
       {
index 9bac9ef..e4ca3e1 100644 (file)
@@ -12,6 +12,9 @@
 #ifndef ZYPP_PARSER_XML_XMLESCAPE_H
 #define ZYPP_PARSER_XML_XMLESCAPE_H
 
+#include <string>
+#include "zypp/APIConfig.h"
+
 ///////////////////////////////////////////////////////////////////
 namespace zypp
 {
@@ -20,10 +23,10 @@ namespace zypp
   {
 
     /** Escape xml special charaters (<tt>& -> &amp;</tt>; from IoBind library). */
-    std::string escape( const std::string & in_r );
+    ZYPP_API std::string escape( const std::string & in_r );
 
     /** Unescape xml special charaters (<tt>&amp; -> &</tt>; from IoBind library) */
-    std::string unescape( const std::string & in_r );
+    ZYPP_API std::string unescape( const std::string & in_r );
 
   } // namespace xml
   /////////////////////////////////////////////////////////////////