From d760fa831bc95bc038eb2e0ac32cd0cad6b53a74 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 4 Aug 2010 13:22:00 +0000 Subject: Added conditional-compilation directives to hide the PrivateImplRef template from Swig. It seems that earlier versions of Swig (like that in RHEL5) don't like the template syntax. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982243 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/messaging/Receiver.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/include/qpid/messaging/Receiver.h') diff --git a/cpp/include/qpid/messaging/Receiver.h b/cpp/include/qpid/messaging/Receiver.h index a1129975cf..6f3ae961db 100644 --- a/cpp/include/qpid/messaging/Receiver.h +++ b/cpp/include/qpid/messaging/Receiver.h @@ -30,7 +30,9 @@ namespace qpid { namespace messaging { +#ifndef SWIG template class PrivateImplRef; +#endif class Message; class ReceiverImpl; @@ -132,8 +134,10 @@ class Receiver : public qpid::messaging::Handle */ QPID_MESSAGING_EXTERN Session getSession() const; +#ifndef SWIG private: friend class qpid::messaging::PrivateImplRef; +#endif }; }} // namespace qpid::messaging -- cgit v1.2.1