From: Michael Andres Date: Tue, 8 May 2012 12:39:32 +0000 (+0200) Subject: XmlEscape: fix visibility X-Git-Tag: 11.6.2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb0657da2356107e3cbe81af3b2363e3eb02115b;p=platform%2Fupstream%2Flibzypp.git XmlEscape: fix visibility --- diff --git a/zypp/parser/xml/XmlEscape.cc b/zypp/parser/xml/XmlEscape.cc index 23fe967..8994561 100644 --- a/zypp/parser/xml/XmlEscape.cc +++ b/zypp/parser/xml/XmlEscape.cc @@ -10,7 +10,8 @@ * */ -#include +#include +#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 { diff --git a/zypp/parser/xml/XmlEscape.h b/zypp/parser/xml/XmlEscape.h index 9bac9ef..e4ca3e1 100644 --- a/zypp/parser/xml/XmlEscape.h +++ b/zypp/parser/xml/XmlEscape.h @@ -12,6 +12,9 @@ #ifndef ZYPP_PARSER_XML_XMLESCAPE_H #define ZYPP_PARSER_XML_XMLESCAPE_H +#include +#include "zypp/APIConfig.h" + /////////////////////////////////////////////////////////////////// namespace zypp { @@ -20,10 +23,10 @@ namespace zypp { /** Escape xml special charaters (& -> &; 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 (& -> &; from IoBind library) */ - std::string unescape( const std::string & in_r ); + ZYPP_API std::string unescape( const std::string & in_r ); } // namespace xml /////////////////////////////////////////////////////////////////