summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
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
commit979cdd9b4520c9aede4c225bb24989311f029551 (patch)
tree2d3b5f17202b199641f7896fb8bd679ff683bc88 /qpid/cpp/include
parent5fc0f26ed50ec737b19004a2f30d3e8d6348dd29 (diff)
downloadqpid-python-979cdd9b4520c9aede4c225bb24989311f029551.tar.gz
Add missing QPID_CLIENT_EXTERNs to fix build on Windows.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@930140 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/messaging/Message.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/qpid/cpp/include/qpid/messaging/Message.h b/qpid/cpp/include/qpid/messaging/Message.h
index ce7691edc1..c4b031046a 100644
--- a/qpid/cpp/include/qpid/messaging/Message.h
+++ b/qpid/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