summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Demux.h
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-08-20 22:43:06 +0000
committerStephen D. Huston <shuston@apache.org>2009-08-20 22:43:06 +0000
commitf91c7269e0a4c60f2db1fd093d51fb7e2b90fced (patch)
tree9dd6fc5d4ee9ca8db6ee2a32943a0fc018b20784 /cpp/src/qpid/client/Demux.h
parenta043417121ebe286333b4aad1b7b057a9293279d (diff)
downloadqpid-python-f91c7269e0a4c60f2db1fd093d51fb7e2b90fced.tar.gz
Add needed extern decorators for Windows; applies patch QPID-2061-1.patch in QPID-2061
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806384 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Demux.h')
-rw-r--r--cpp/src/qpid/client/Demux.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/cpp/src/qpid/client/Demux.h b/cpp/src/qpid/client/Demux.h
index 7304e799bb..31dc3f9c06 100644
--- a/cpp/src/qpid/client/Demux.h
+++ b/cpp/src/qpid/client/Demux.h
@@ -25,6 +25,7 @@
#include "qpid/framing/FrameSet.h"
#include "qpid/sys/Mutex.h"
#include "qpid/sys/BlockingQueue.h"
+#include "qpid/client/ClientImportExport.h"
#ifndef _Demux_
#define _Demux_
@@ -49,17 +50,17 @@ public:
typedef sys::BlockingQueue<framing::FrameSet::shared_ptr> Queue;
typedef boost::shared_ptr<Queue> QueuePtr;
- Demux();
- ~Demux();
+ QPID_CLIENT_EXTERN Demux();
+ QPID_CLIENT_EXTERN ~Demux();
- void handle(framing::FrameSet::shared_ptr);
- void close(const sys::ExceptionHolder& ex);
- void open();
-
- QueuePtr add(const std::string& name, Condition);
- void remove(const std::string& name);
- QueuePtr get(const std::string& name);
- QueuePtr getDefault();
+ QPID_CLIENT_EXTERN void handle(framing::FrameSet::shared_ptr);
+ QPID_CLIENT_EXTERN void close(const sys::ExceptionHolder& ex);
+ QPID_CLIENT_EXTERN void open();
+
+ QPID_CLIENT_EXTERN QueuePtr add(const std::string& name, Condition);
+ QPID_CLIENT_EXTERN void remove(const std::string& name);
+ QPID_CLIENT_EXTERN QueuePtr get(const std::string& name);
+ QPID_CLIENT_EXTERN QueuePtr getDefault();
private:
struct Record