diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-07-13 12:06:46 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-07-13 12:06:46 -0400 |
commit | 30004443d55d6597f9695bfcf54a6771bc296501 (patch) | |
tree | 7e79568abd26300ef974ca22c6916044af1cb569 /cpp/src/Ice/ConnectionFactoryF.h | |
parent | Fixed for 7213 - Added check for VC120 to add PATH for Bzip2 library (diff) | |
download | ice-30004443d55d6597f9695bfcf54a6771bc296501.tar.bz2 ice-30004443d55d6597f9695bfcf54a6771bc296501.tar.xz ice-30004443d55d6597f9695bfcf54a6771bc296501.zip |
Various C++ cleanups
Diffstat (limited to 'cpp/src/Ice/ConnectionFactoryF.h')
-rw-r--r-- | cpp/src/Ice/ConnectionFactoryF.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cpp/src/Ice/ConnectionFactoryF.h b/cpp/src/Ice/ConnectionFactoryF.h new file mode 100644 index 00000000000..033d61b9761 --- /dev/null +++ b/cpp/src/Ice/ConnectionFactoryF.h @@ -0,0 +1,35 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICE_CONNECTION_FACTORY_F_H +#define ICE_CONNECTION_FACTORY_F_H + +#include <IceUtil/Shared.h> + +#include <Ice/Handle.h> + +namespace IceInternal +{ + +class OutgoingConnectionFactory; +IceUtil::Shared* upCast(OutgoingConnectionFactory*); +typedef IceInternal::Handle<OutgoingConnectionFactory> OutgoingConnectionFactoryPtr; + +class IncomingConnectionFactory; + +#ifdef ICE_CPP11_MAPPING +using IncomingConnectionFactoryPtr = ::std::shared_ptr<IncomingConnectionFactory>; +#else +IceUtil::Shared* upCast(IncomingConnectionFactory*); +typedef IceInternal::Handle<IncomingConnectionFactory> IncomingConnectionFactoryPtr; +#endif + +} + +#endif |