summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-04-23 22:23:59 +0000
committerStephen D. Huston <shuston@apache.org>2009-04-23 22:23:59 +0000
commit2e538ce61edbcc2503b71797dde4f8a6be46d8f9 (patch)
tree2b874dbc63e3f3ac6e131d4dd22b902f72275a27
parent156c1df48e6514b356ee90200706bab9f6a83a5c (diff)
downloadqpid-python-2e538ce61edbcc2503b71797dde4f8a6be46d8f9.tar.gz
Move client::Dispatcher destructor from .cpp to .h to avoid having to export it on Windows; Added new client files to client.vcproj
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@768081 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/client.vcproj9
-rw-r--r--qpid/cpp/src/qpid/client/Dispatcher.cpp5
-rw-r--r--qpid/cpp/src/qpid/client/Dispatcher.h3
3 files changed, 12 insertions, 5 deletions
diff --git a/qpid/cpp/src/client.vcproj b/qpid/cpp/src/client.vcproj
index 28b7ec73dc..8e8842f3c0 100644
--- a/qpid/cpp/src/client.vcproj
+++ b/qpid/cpp/src/client.vcproj
@@ -393,6 +393,9 @@
RelativePath="qpid\client\Bounds.cpp">
</File>
<File
+ RelativePath="qpid\client\Completion.cpp">
+ </File>
+ <File
RelativePath="qpid\client\Connection.cpp">
</File>
<File
@@ -444,6 +447,9 @@
RelativePath="qpid\client\Message.cpp">
</File>
<File
+ RelativePath="qpid\client\MessageImpl.cpp">
+ </File>
+ <File
RelativePath="qpid\client\MessageListener.cpp">
</File>
<File
@@ -571,6 +577,9 @@
RelativePath="qpid\client\Message.h">
</File>
<File
+ RelativePath="qpid\client\MessageImpl.h">
+ </File>
+ <File
RelativePath="qpid\client\MessageListener.h">
</File>
<File
diff --git a/qpid/cpp/src/qpid/client/Dispatcher.cpp b/qpid/cpp/src/qpid/client/Dispatcher.cpp
index 5156031748..9efc205b23 100644
--- a/qpid/cpp/src/qpid/client/Dispatcher.cpp
+++ b/qpid/cpp/src/qpid/client/Dispatcher.cpp
@@ -48,10 +48,7 @@ Dispatcher::Dispatcher(const Session& s, const std::string& q)
queue = q.empty() ?
session.getExecution().getDemux().getDefault() :
session.getExecution().getDemux().get(q);
-}
-
-Dispatcher::~Dispatcher() {}
-
+}
void Dispatcher::start()
{
diff --git a/qpid/cpp/src/qpid/client/Dispatcher.h b/qpid/cpp/src/qpid/client/Dispatcher.h
index 4dbb75dcf2..197d3591aa 100644
--- a/qpid/cpp/src/qpid/client/Dispatcher.h
+++ b/qpid/cpp/src/qpid/client/Dispatcher.h
@@ -30,6 +30,7 @@
#include "qpid/sys/Runnable.h"
#include "qpid/sys/Thread.h"
#include "MessageListener.h"
+#include "SubscriptionImpl.h"
namespace qpid {
namespace client {
@@ -60,7 +61,7 @@ class Dispatcher : public sys::Runnable
public:
Dispatcher(const Session& session, const std::string& queue = "");
- ~Dispatcher();
+ ~Dispatcher() {}
void start();
void wait();