From b3ad2138dda2b71ef52ac47ff83d3f4a48de4e67 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/qpid@1460198 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/messaging/Address.h | 1 + cpp/include/qpid/messaging/Receiver.h | 6 ++++++ cpp/include/qpid/messaging/Sender.h | 6 ++++++ 3 files changed, 13 insertions(+) (limited to 'cpp/include') diff --git a/cpp/include/qpid/messaging/Address.h b/cpp/include/qpid/messaging/Address.h index 63dce0c49d..224a70b193 100644 --- a/cpp/include/qpid/messaging/Address.h +++ b/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/cpp/include/qpid/messaging/Receiver.h b/cpp/include/qpid/messaging/Receiver.h index 13317dfcbd..6c6fdaa7cb 100644 --- a/cpp/include/qpid/messaging/Receiver.h +++ b/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/cpp/include/qpid/messaging/Sender.h b/cpp/include/qpid/messaging/Sender.h index 8e1c5846e9..9c7bca1905 100644 --- a/cpp/include/qpid/messaging/Sender.h +++ b/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