summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-04-01 16:28:38 +0000
committerStephen D. Huston <shuston@apache.org>2010-04-01 16:28:38 +0000
commit0ee2067da40e17906eb4b89a73f233d07ec5d32d (patch)
tree1d1ee0ffacf88184538314b57937ae8fc02cab1d /cpp
parenta088362495bcbae2b637b9e51fcf915c86b3ba40 (diff)
downloadqpid-python-0ee2067da40e17906eb4b89a73f233d07ec5d32d.tar.gz
Add missing QPID_COMMON_EXTERNs to fix build on Windows.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930031 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/qpid/amqp_0_10/Codecs.h11
-rw-r--r--cpp/include/qpid/framing/Uuid.h2
2 files changed, 8 insertions, 5 deletions
diff --git a/cpp/include/qpid/amqp_0_10/Codecs.h b/cpp/include/qpid/amqp_0_10/Codecs.h
index 669b485807..78b0aa671b 100644
--- a/cpp/include/qpid/amqp_0_10/Codecs.h
+++ b/cpp/include/qpid/amqp_0_10/Codecs.h
@@ -22,6 +22,7 @@
*
*/
+#include "qpid/CommonImportExport.h"
#include "qpid/types/Variant.h"
namespace qpid {
@@ -33,7 +34,7 @@ namespace amqp_0_10 {
* Codec for encoding/decoding a map of Variants using the AMQP 0-10
* map encoding.
*/
-class MapCodec
+class QPID_COMMON_EXTERN MapCodec
{
public:
static void encode(const qpid::types::Variant::Map&, std::string&);
@@ -46,7 +47,7 @@ class MapCodec
* Codec for encoding/decoding a list of Variants using the AMQP 0-10
* list encoding.
*/
-class ListCodec
+class QPID_COMMON_EXTERN ListCodec
{
public:
static void encode(const qpid::types::Variant::List&, std::string&);
@@ -62,8 +63,10 @@ class ListCodec
* deprecated qpid::framing::FieldTable.
*
*/
-void translate(const qpid::types::Variant::Map& from, qpid::framing::FieldTable& to);
-void translate(const qpid::framing::FieldTable& from, qpid::types::Variant::Map& to);
+QPID_COMMON_EXTERN void translate(const qpid::types::Variant::Map& from,
+ qpid::framing::FieldTable& to);
+QPID_COMMON_EXTERN void translate(const qpid::framing::FieldTable& from,
+ qpid::types::Variant::Map& to);
}} // namespace qpid::amqp_0_10
diff --git a/cpp/include/qpid/framing/Uuid.h b/cpp/include/qpid/framing/Uuid.h
index 2cca6e9dfe..d357538b4d 100644
--- a/cpp/include/qpid/framing/Uuid.h
+++ b/cpp/include/qpid/framing/Uuid.h
@@ -61,7 +61,7 @@ struct Uuid : public boost::array<uint8_t, 16> {
void clear();
/** Test for null (all zeros). */
- bool isNull() const;
+ QPID_COMMON_EXTERN bool isNull() const;
operator bool() const { return !isNull(); }
bool operator!() const { return isNull(); }