From 990613d5320add3f29119e5039f9d757638be1fb Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Sat, 23 Mar 2013 17:59:50 +0000 Subject: QPID-4586: fixes for dynamic sources/targets and on demand creation of nodes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1460198 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/include/qpid/messaging/Address.h | 1 + qpid/cpp/include/qpid/messaging/Receiver.h | 6 ++++++ qpid/cpp/include/qpid/messaging/Sender.h | 6 ++++++ 3 files changed, 13 insertions(+) (limited to 'qpid/cpp/include') diff --git a/qpid/cpp/include/qpid/messaging/Address.h b/qpid/cpp/include/qpid/messaging/Address.h index 63dce0c49d..224a70b193 100644 --- a/qpid/cpp/include/qpid/messaging/Address.h +++ b/qpid/cpp/include/qpid/messaging/Address.h @@ -153,6 +153,7 @@ class QPID_MESSAGING_CLASS_EXTERN Address QPID_MESSAGING_EXTERN bool operator !() const; private: AddressImpl* impl; + friend class AddressImpl; }; #ifndef SWIG diff --git a/qpid/cpp/include/qpid/messaging/Receiver.h b/qpid/cpp/include/qpid/messaging/Receiver.h index 13317dfcbd..6c6fdaa7cb 100644 --- a/qpid/cpp/include/qpid/messaging/Receiver.h +++ b/qpid/cpp/include/qpid/messaging/Receiver.h @@ -34,6 +34,7 @@ namespace messaging { template class PrivateImplRef; #endif +class Address; class Message; class ReceiverImpl; class Session; @@ -134,6 +135,11 @@ class QPID_MESSAGING_CLASS_EXTERN Receiver : public qpid::messaging::Handle; diff --git a/qpid/cpp/include/qpid/messaging/Sender.h b/qpid/cpp/include/qpid/messaging/Sender.h index 8e1c5846e9..9c7bca1905 100644 --- a/qpid/cpp/include/qpid/messaging/Sender.h +++ b/qpid/cpp/include/qpid/messaging/Sender.h @@ -34,6 +34,7 @@ namespace messaging { #ifndef SWIG template class PrivateImplRef; #endif +class Address; class Message; class SenderImpl; class Session; @@ -89,6 +90,11 @@ class QPID_MESSAGING_CLASS_EXTERN Sender : public qpid::messaging::Handle; -- cgit v1.2.1