diff options
author | Kim van der Riet <kpvdr@apache.org> | 2012-07-16 13:54:11 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2012-07-16 13:54:11 +0000 |
commit | a804510d81ade0594a75b5c9b8765cafcc233245 (patch) | |
tree | 8c6be643564b6d8c88619d17de7150c98a314781 /cpp/src/qpid/broker/QueueHandle.h | |
parent | 1ab07197127e990da2c765ea0ffa5fd8ca47b7b6 (diff) | |
download | qpid-python-a804510d81ade0594a75b5c9b8765cafcc233245.tar.gz |
QPID-3858: Refactor to tidy up several class design issues
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1362039 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/QueueHandle.h')
-rw-r--r-- | cpp/src/qpid/broker/QueueHandle.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/cpp/src/qpid/broker/QueueHandle.h b/cpp/src/qpid/broker/QueueHandle.h index cb366e2880..234c5e15e8 100644 --- a/cpp/src/qpid/broker/QueueHandle.h +++ b/cpp/src/qpid/broker/QueueHandle.h @@ -21,18 +21,23 @@ * \file QueueHandle.h */ -#ifndef qpid_broker_QueueHandleImpl_h_ -#define qpid_broker_QueueHandleImpl_h_ +#ifndef qpid_broker_QueueHandle_h_ +#define qpid_broker_QueueHandle_h_ -#include "IdHandle.h" +#include "Handle.h" -#include "qpid/asyncStore/QueueHandleImpl.h" -#include "qpid/messaging/Handle.h" +#include "qpid/asyncStore/AsyncStoreHandle.h" + +#include <string> namespace qpid { +namespace asyncStore { +class QueueHandleImpl; +} namespace broker { -class QueueHandle : public qpid::messaging::Handle<qpid::asyncStore::QueueHandleImpl>, public IdHandle +class QueueHandle : public Handle<qpid::asyncStore::QueueHandleImpl>, + public qpid::asyncStore::AsyncStoreHandle { public: QueueHandle(qpid::asyncStore::QueueHandleImpl* p = 0); @@ -44,9 +49,9 @@ public: const std::string& getName() const; private: - friend class qpid::messaging::PrivateImplRef<QueueHandle>; + friend class PrivateImplRef<QueueHandle>; }; }} // namespace qpid::broker -#endif // qpid_broker_QueueHandleImpl_h_ +#endif // qpid_broker_QueueHandle_h_ |