You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by sh...@apache.org on 2010/04/01 18:28:38 UTC

svn commit: r930031 - in /qpid/trunk/qpid/cpp/include/qpid: amqp_0_10/Codecs.h framing/Uuid.h

Author: shuston
Date: Thu Apr  1 16:28:38 2010
New Revision: 930031

URL: http://svn.apache.org/viewvc?rev=930031&view=rev
Log:
Add missing QPID_COMMON_EXTERNs to fix build on Windows.

Modified:
    qpid/trunk/qpid/cpp/include/qpid/amqp_0_10/Codecs.h
    qpid/trunk/qpid/cpp/include/qpid/framing/Uuid.h

Modified: qpid/trunk/qpid/cpp/include/qpid/amqp_0_10/Codecs.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/amqp_0_10/Codecs.h?rev=930031&r1=930030&r2=930031&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/amqp_0_10/Codecs.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/amqp_0_10/Codecs.h Thu Apr  1 16:28:38 2010
@@ -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
 

Modified: qpid/trunk/qpid/cpp/include/qpid/framing/Uuid.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/framing/Uuid.h?rev=930031&r1=930030&r2=930031&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/framing/Uuid.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/framing/Uuid.h Thu Apr  1 16:28:38 2010
@@ -61,7 +61,7 @@ struct Uuid : public boost::array<uint8_
     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(); }
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org