From f54b6c6506d2e1681eb5c67e0fc8b9aed4f98358 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Thu, 1 Apr 2010 23:39:52 +0000 Subject: Add missing QPID_CLIENT_EXTERNs to fix build on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930140 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/messaging/Message.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'cpp/include') diff --git a/cpp/include/qpid/messaging/Message.h b/cpp/include/qpid/messaging/Message.h index ce7691edc1..c4b031046a 100644 --- a/cpp/include/qpid/messaging/Message.h +++ b/cpp/include/qpid/messaging/Message.h @@ -118,7 +118,9 @@ struct EncodingException : qpid::Exception * any encoding specified by the content-type of the message * @exception EncodingException */ -void decode(const Message& message, qpid::types::Variant::Map& map, const std::string& encoding = std::string()); +QPID_CLIENT_EXTERN void decode(const Message& message, + qpid::types::Variant::Map& map, + const std::string& encoding = std::string()); /** * Decodes message content into a Variant::List. * @@ -128,7 +130,9 @@ void decode(const Message& message, qpid::types::Variant::Map& map, const std::s * any encoding specified by the content-type of the message * @exception EncodingException */ -void decode(const Message& message, qpid::types::Variant::List& list, const std::string& encoding = std::string()); +QPID_CLIENT_EXTERN void decode(const Message& message, + qpid::types::Variant::List& list, + const std::string& encoding = std::string()); /** * Encodes a Variant::Map into a message. * @@ -138,7 +142,9 @@ void decode(const Message& message, qpid::types::Variant::List& list, const std: * any encoding specified by the content-type of the message * @exception EncodingException */ -void encode(const qpid::types::Variant::Map& map, Message& message, const std::string& encoding = std::string()); +QPID_CLIENT_EXTERN void encode(const qpid::types::Variant::Map& map, + Message& message, + const std::string& encoding = std::string()); /** * Encodes a Variant::List into a message. * @@ -148,7 +154,9 @@ void encode(const qpid::types::Variant::Map& map, Message& message, const std::s * any encoding specified by the content-type of the message * @exception EncodingException */ -void encode(const qpid::types::Variant::List& list, Message& message, const std::string& encoding = std::string()); +QPID_CLIENT_EXTERN void encode(const qpid::types::Variant::List& list, + Message& message, + const std::string& encoding = std::string()); }} // namespace qpid::messaging -- cgit v1.2.1