diff options
| author | Ted Ross <tross@apache.org> | 2010-08-04 13:22:00 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-08-04 13:22:00 +0000 |
| commit | e84a4dba7b583aa482afd9c8ef99c8a48190ce86 (patch) | |
| tree | 41bafa50eb67b6f5d9a47b12c3e046462c4f27ad /cpp/include/qpid/messaging/Connection.h | |
| parent | 88eaff4443d5e7586421c6e9f1f66da4bf00cfc4 (diff) | |
| download | qpid-python-e84a4dba7b583aa482afd9c8ef99c8a48190ce86.tar.gz | |
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
Diffstat (limited to 'cpp/include/qpid/messaging/Connection.h')
| -rw-r--r-- | cpp/include/qpid/messaging/Connection.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/include/qpid/messaging/Connection.h b/cpp/include/qpid/messaging/Connection.h index 6f2cd54b4b..59f5616a2f 100644 --- a/cpp/include/qpid/messaging/Connection.h +++ b/cpp/include/qpid/messaging/Connection.h @@ -32,7 +32,9 @@ namespace qpid { namespace messaging { +#ifndef SWIG template <class> class PrivateImplRef; +#endif class ConnectionImpl; class Session; @@ -99,9 +101,11 @@ class Connection : public qpid::messaging::Handle<ConnectionImpl> QPID_MESSAGING_EXTERN Session getSession(const std::string& name) const; QPID_MESSAGING_EXTERN std::string getAuthenticatedUsername(); + +#ifndef SWIG private: friend class qpid::messaging::PrivateImplRef<Connection>; - +#endif }; }} // namespace qpid::messaging |
