summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-04-01 23:39:52 +0000
committerStephen D. Huston <shuston@apache.org>2010-04-01 23:39:52 +0000
commitf54b6c6506d2e1681eb5c67e0fc8b9aed4f98358 (patch)
treeec6d86ad391acc37c2b4a19acc340e4843b06934 /cpp
parent277d52e9d857301898a5d1c58090eeb343e5e77a (diff)
downloadqpid-python-f54b6c6506d2e1681eb5c67e0fc8b9aed4f98358.tar.gz
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
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/qpid/messaging/Message.h16
1 files changed, 12 insertions, 4 deletions
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