From 7db52d95099fb7ae237277f12e4e368cf643f174 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Thu, 23 Apr 2009 22:23:59 +0000 Subject: 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/qpid@768081 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/client.vcproj | 9 +++++++++ cpp/src/qpid/client/Dispatcher.cpp | 5 +---- cpp/src/qpid/client/Dispatcher.h | 3 ++- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'cpp') diff --git a/cpp/src/client.vcproj b/cpp/src/client.vcproj index 28b7ec73dc..8e8842f3c0 100644 --- a/cpp/src/client.vcproj +++ b/cpp/src/client.vcproj @@ -392,6 +392,9 @@ + + @@ -443,6 +446,9 @@ + + @@ -570,6 +576,9 @@ + + diff --git a/cpp/src/qpid/client/Dispatcher.cpp b/cpp/src/qpid/client/Dispatcher.cpp index 5156031748..9efc205b23 100644 --- a/cpp/src/qpid/client/Dispatcher.cpp +++ b/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/cpp/src/qpid/client/Dispatcher.h b/cpp/src/qpid/client/Dispatcher.h index 4dbb75dcf2..197d3591aa 100644 --- a/cpp/src/qpid/client/Dispatcher.h +++ b/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(); -- cgit v1.2.1